Function av_fmt_ctx_get_duration_estimation_method

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

Returns the method used to set ctx->duration.

@return AVFMT_DURATION_FROM_PTS, AVFMT_DURATION_FROM_STREAM, or AVFMT_DURATION_FROM_BITRATE.