[vlc-devel] commit: xcb-xv: remove old cruft ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Sep 9 17:52:52 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Sep  9 18:52:14 2009 +0300| [584ce9385f36e3706de87b5114cf6ece7a175148] | committer: Rémi Denis-Courmont 

xcb-xv: remove old cruft

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

 modules/video_output/xcb/xvideo.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/modules/video_output/xcb/xvideo.c b/modules/video_output/xcb/xvideo.c
index 9b75335..95be5c7 100644
--- a/modules/video_output/xcb/xvideo.c
+++ b/modules/video_output/xcb/xvideo.c
@@ -344,7 +344,6 @@ static int Open (vlc_object_t *obj)
             continue;
         }
 
-        /* FIXME: Open() should fail if none of the ports are usable to VLC */
         if (!(a->type & XCB_XV_TYPE_IMAGE_MASK))
             continue;
 
@@ -414,10 +413,6 @@ static int Open (vlc_object_t *obj)
             fmt.i_gmask = xfmt->green_mask;
             fmt.i_bmask = xfmt->blue_mask;
         }
-        else
-        if (xfmt->num_planes == 3
-         && !strcmp ((const char *)xfmt->vcomp_order, "YVU"))
-            fmt.i_chroma = VLC_CODEC_YV12;
         free (r);
         found_adaptor = true;
         break;




More information about the vlc-devel mailing list