Function rsmpeg::ffi::av_fmt_ctx_get_duration_estimation_method[][src]

pub unsafe extern "C" fn av_fmt_ctx_get_duration_estimation_method(
    ctx: *const AVFormatContext
) -> u32
Expand description

Returns the method used to set ctx->duration.

@return AVFMT_DURATION_FROM_PTS, AVFMT_DURATION_FROM_STREAM, or AVFMT_DURATION_FROM_BITRATE.