[vlc-devel] [PATCH] avcodec: set profile in the ES descriptor if not already defined

Francois Cartegnie fcvlcdev at free.fr
Tue Jan 2 15:00:35 CET 2018


Le 02/01/2018 à 14:26, Mathieu Velten a écrit :
>  
> +    /* Sometimes the profile is not available through the container metadatas
> +     * and not provided by the packetizer either (VP9 in WebM) */
> +    if (p_dec->fmt_in.i_profile < 0 && p_context->profile > 0)
> +        p_dec->fmt_in.i_profile = p_context->profile;

Again, the ffmpeg defines are not usable on vlc structs.

-- 
Francois Cartegnie
VideoLAN - VLC Developer


More information about the vlc-devel mailing list