[][src]Function libass_sys::ass_process_chunk

pub unsafe extern "C" fn ass_process_chunk(
    track: *mut ASS_Track,
    data: *mut c_char,
    size: c_int,
    timecode: c_longlong,
    duration: c_longlong
)

\brief Parse a chunk of subtitle stream data. A chunk contains exactly one event in Matroska format. See the Matroska specification for details. In later libass versions (since LIBASS_VERSION==0x01300001), using this function means you agree not to modify events manually, or using other functions manipulating the event list like ass_process_data(). If you do anyway, the internal duplicate checking might break. Calling ass_flush_events() is still allowed. \param track track \param data string to parse \param size length of data \param timecode starting time of the event (milliseconds) \param duration duration of the event (milliseconds)