vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sun Oct  5 
22:41:51 2014 +0300| [b2dbe4eeef6627c3b436273c282e27cbc25aa44a] | committer: 
Rémi Denis-Courmont

XCB/XVideo: do not fallback to YUYV output for RGB inputs

If the XVideo driver does not provide any RGB image format, then we
are definitely better off with GLX than XVideo. Consider:
 - GLX supports proper subpicture blending - not XVideo,
 - GLX does not need chroma conversion - XVideo does in this case.

This change makes no difference if the XVideo driver supports RGB.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b2dbe4eeef6627c3b436273c282e27cbc25aa44a
---

 modules/video_output/xcb/xvideo.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/video_output/xcb/xvideo.c 
b/modules/video_output/xcb/xvideo.c
index c7fc246..b2c45a1 100644
--- a/modules/video_output/xcb/xvideo.c
+++ b/modules/video_output/xcb/xvideo.c
@@ -276,7 +276,6 @@ FindFormat (vlc_object_t *obj, xcb_connection_t *conn, 
video_format_t *fmt,
         tab[2] = VLC_CODEC_RGB24;
         tab[3] = VLC_CODEC_RGB16;
         tab[4] = VLC_CODEC_RGB15;
-        tab[5] = VLC_CODEC_YUYV;
         tab[6] = 0;
     }
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to