[vlc-devel] libvlc_video_set_format_callbacks() and "cyuv" chroma

Jérôme FORISSIER jerome at taodyne.com
Sun Mar 11 01:46:18 CET 2012


On 10 mars 2012, at 23:33, Rafaël Carré wrote:

> Le 09/03/2012 20:17, Jérôme FORISSIER a écrit :
>> 
>> diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
>> index 9410d77..15d452c 100644
>> --- a/src/misc/fourcc.c
>> +++ b/src/misc/fourcc.c
>> @@ -1498,7 +1498,8 @@ const char *vlc_fourcc_GetDescription( int i_cat, vlc_fourcc_t i_fourcc )
>> 
>> #define VLC_CODEC_YUV_PACKED \
>>     VLC_CODEC_YUYV, VLC_CODEC_YVYU, \
>> -    VLC_CODEC_UYVY, VLC_CODEC_VYUY
>> +    VLC_CODEC_UYVY, VLC_CODEC_VYUY, \
>> +    VLC_CODEC_CYUV
>> 
>> #define VLC_CODEC_FALLBACK_420 \
>>     VLC_CODEC_YUV_PLANAR_422, VLC_CODEC_YUV_PACKED, \
> 
> Isn't CYUV missing from a few fallback lists?

That's quite possible, but unfortunately I don't understand this code well enough to propose a patch.

-- 
Jérôme




More information about the vlc-devel mailing list