Function rsmpeg::ffi::av_guess_frame_rate [−][src]
pub unsafe extern "C" fn av_guess_frame_rate(
ctx: *mut AVFormatContext,
stream: *mut AVStream,
frame: *mut AVFrame
) -> AVRational
Expand description
Guess the frame rate, based on both the container and codec information.
@param ctx the format context which the stream is part of @param stream the stream which the frame is part of @param frame the frame for which the frame rate should be determined, may be NULL @return the guessed (valid) frame rate, 0/1 if no idea