]> git.sesse.net Git - vlc/commitdiff
xcb-xv: remove old cruft
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 9 Sep 2009 15:52:14 +0000 (18:52 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 9 Sep 2009 15:52:14 +0000 (18:52 +0300)
modules/video_output/xcb/xvideo.c

index 9b753355b7423b62ef0631235ae119d9b9a3b405..95be5c7185de71d84faf8a428c8a1902429aa2a9 100644 (file)
@@ -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;