[−][src]Function ffmpeg_dev::sys::ff_gen_search
pub unsafe extern "C" fn ff_gen_search(
s: *mut AVFormatContext,
stream_index: c_int,
target_ts: i64,
pos_min: i64,
pos_max: i64,
pos_limit: i64,
ts_min: i64,
ts_max: i64,
flags: c_int,
ts_ret: *mut i64,
read_timestamp: Option<unsafe extern "C" fn(arg1: *mut AVFormatContext, arg2: c_int, arg3: *mut i64, arg4: i64) -> i64>
) -> i64
Perform a binary search using read_timestamp().
@param target_ts target timestamp in the time base of the given stream @param stream_index stream number