跳到主要内容

av_mime_codec_str

搜索

函数 av_mime_codec_str 

源代码
pub unsafe extern "C" fn av_mime_codec_str(
    par: *const AVCodecParameters,
    frame_rate: AVRational,
    out: *mut AVBPrint,
) -> c_int
展开描述

Make a RFC 4281/6381 like string describing a codec for MIME types.

@param par pointer to an AVCodecParameters struct describing the codec @param frame_rate an AVRational for the frame rate, for deciding the right profile for video codecs. Pass an invalid AVRational (1/0) to indicate that it is unknown. @param out the AVBPrint to write the output to @return <0 on error