[vlc-devel] [PATCH] [RFC] chain: YV12 is the preferred I420 variant on Windows

Steve Lhomme robUx4 at videolabs.io
Tue Apr 28 15:57:19 CEST 2015


--
if I420 is a candidate for a chroma chain on windows, YV12 should be tried too
---
 modules/video_chroma/chain.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/video_chroma/chain.c b/modules/video_chroma/chain.c
index acf8b30..3b61448 100644
--- a/modules/video_chroma/chain.c
+++ b/modules/video_chroma/chain.c
@@ -61,6 +61,9 @@ static void EsFormatMergeSize( es_format_t *p_dst,
                                const es_format_t *p_size );
 
 static const vlc_fourcc_t pi_allowed_chromas[] = {
+#ifdef _WIN32
+    VLC_CODEC_YV12,
+#endif
     VLC_CODEC_I420,
     VLC_CODEC_I422,
     VLC_CODEC_RGB32,
-- 
2.3.2




More information about the vlc-devel mailing list