[vlc-devel] [PATCH 1/4] es: move i_profile/i_level to audio and video format structs

Rémi Denis-Courmont remi at remlab.net
Fri Mar 30 16:29:58 CEST 2018


Le 30 mars 2018 15:43:16 GMT+02:00, Thomas Guillem <thomas at gllm.fr> a écrit :
>
>
>On Fri, Mar 30, 2018, at 15:39, Francois Cartegnie wrote:
>> Le 30/03/2018 à 21:15, Thomas Guillem a écrit :
>> 
>> > +    int i_profile; /**< codec specific information (like dtshd
>extensions) */
>> > +    int i_level;   /**< codec specific information: indicates
>maximum
>> > +                        restrictions on the stream (bitrate, codec
>features ...) */
>> >      fmt->i_cat                  = i_cat;
>> 
>> Profile is tied to codec, which params (video/aout_format_t) depends
>
>So, do you prefer to pass the whole es_format_t to the aout ? It is
>doable too.
> 
>> 
>> 
>> -- 
>> Francois Cartegnie
>> VideoLAN - VLC Developer
>> _______________________________________________
>> vlc-devel mailing list
>> To unsubscribe or modify your subscription options:
>> https://mailman.videolan.org/listinfo/vlc-devel
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>https://mailman.videolan.org/listinfo/vlc-devel

If it is not the same codec, then don't use the same fourcc.

And if you cannot distinguish the codecs, then you cannot fill in a profile value either, so this patch would solve nothing.
-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.


More information about the vlc-devel mailing list