Function rsmpeg::ffi::av_get_output_timestamp[][src]

pub unsafe extern "C" fn av_get_output_timestamp(
    s: *mut AVFormatContext,
    stream: i32,
    dts: *mut i64,
    wall: *mut i64
) -> i32
Expand description

Get timing information for the data currently output. The exact meaning of “currently output” depends on the format. It is mostly relevant for devices that have an internal buffer and/or work in real time. @param s media file handle @param stream stream in the media file @param[out] dts DTS of the last packet output for the stream, in stream time_base units @param[out] wall absolute time when that packet whas output, in microsecond @return 0 if OK, AVERROR(ENOSYS) if the format does not support it Note: some formats or devices may not allow to measure dts and wall atomically.