Function av_fmt_ctx_get_duration_estimation_method

Source
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. @deprecated duration_estimation_method is public and can be read directly.