Commit 584ce938 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

xcb-xv: remove old cruft

parent d5a52f56
...@@ -344,7 +344,6 @@ static int Open (vlc_object_t *obj) ...@@ -344,7 +344,6 @@ static int Open (vlc_object_t *obj)
continue; continue;
} }
/* FIXME: Open() should fail if none of the ports are usable to VLC */
if (!(a->type & XCB_XV_TYPE_IMAGE_MASK)) if (!(a->type & XCB_XV_TYPE_IMAGE_MASK))
continue; continue;
...@@ -414,10 +413,6 @@ static int Open (vlc_object_t *obj) ...@@ -414,10 +413,6 @@ static int Open (vlc_object_t *obj)
fmt.i_gmask = xfmt->green_mask; fmt.i_gmask = xfmt->green_mask;
fmt.i_bmask = xfmt->blue_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); free (r);
found_adaptor = true; found_adaptor = true;
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment