ass_set_check_readorder method

void ass_set_check_readorder(
  1. Pointer<ASS_Track> track,
  2. int check_readorder
)

\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.

Implementation

void ass_set_check_readorder(
  ffi.Pointer<ASS_Track> track,
  int check_readorder,
) {
  return _ass_set_check_readorder(
    track,
    check_readorder,
  );
}