[][src]Function libass_sys::ass_set_check_readorder

pub unsafe extern "C" fn ass_set_check_readorder(
    track: *mut ASS_Track,
    check_readorder: c_int
)

\brief Set whether the ReadOrder field when processing a packet with ass_process_chunk() should be used for eliminating duplicates. \param check_readorder 0 means do not try to eliminate duplicates; 1 means use the ReadOrder field embedded in the packet as unique identifier, and discard the packet if there was already a packet with the same ReadOrder. Other values are undefined. If this function is not called, the default value is 1.