From 4a2a24dc98003e59ea9d7da982fefc81a82890d2 Mon Sep 17 00:00:00 2001 From: Darren Salt Date: Thu, 28 Feb 2008 13:47:59 +0000 Subject: Unbreak xcbxv port auto-detection (broken in cset f03669a2395d). --- src/video_out/video_out_xcbxv.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/video_out/video_out_xcbxv.c b/src/video_out/video_out_xcbxv.c index b7001ca03..204f59c2c 100644 --- a/src/video_out/video_out_xcbxv.c +++ b/src/video_out/video_out_xcbxv.c @@ -1133,12 +1133,8 @@ static xcb_xv_port_t xv_autodetect_port(xv_driver_t *this, for (j = 0; j < adaptor_it->data->num_ports; ++j) { xcb_xv_port_t port = adaptor_it->data->base_id + j; - if (port >= base && !xv_check_yv12 (this->connection, port)) - { - xcb_xv_port_t port = xv_open_port (this, port); - if (port) - return port; - } + if (port >= base && xv_open_port (this, port)) + return port; } } return 0; -- cgit v1.2.3