[vlc-devel] [PATCH 1/3] [RFC] vlc_es: add the original chroma

Jean-Baptiste Kempf jb at videolan.org
Wed Jul 13 09:14:37 CEST 2016


On 12 Jul, Steve Lhomme wrote :
> This is needed when using opaque chroma formats. The vout doesn't know the
> pixel format that is intended to be decoded and so we can't decide for
> 8/10/12/16 bits rendering. The same goes for YUV vs RGB or for 4:2:0 vs 4:2:2.

I'm not at ease with this solution.

I don't know exactly why, but this feels like a hack, since opaque
should be opaque, and the vout should then infer the format from the
picture reference given. I understand that there is a chicken-and-egg
issue here, though...

Can we change the format of the swapchain, for example, after opening?



With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the vlc-devel mailing list