ass_track_set_feature method
\brief Enable or disable certain features This manages flags that control the behavior of the renderer and how certain tags etc. within the track are interpreted. The defaults on a newly created ASS_Track are such that rendering is compatible with traditional renderers like VSFilter, and/or old versions of libass. Calling ass_process_data() or ass_process_codec_private() may change some of these flags according to file headers. (ass_process_chunk() will not change any of the flags.) Additions to ASS_Feature are backward compatible to old libass releases (ABI compatibility). After calling ass_render_frame, changing features is no longer allowed. \param track track \param feature the specific feature to enable or disable \param enable 0 for disable, any non-0 value for enable \return 0 if feature set, -1 if feature is unknown
Implementation
int ass_track_set_feature(
ffi.Pointer<ASS_Track> track,
int feature,
int enable,
) {
return _ass_track_set_feature(
track,
feature,
enable,
);
}