diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2008-02-28 13:47:59 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2008-02-28 13:47:59 +0000 |
commit | 4a2a24dc98003e59ea9d7da982fefc81a82890d2 (patch) | |
tree | d78bca4ad80bb7f3cc56f555f670156a7895295d | |
parent | e15dfd5952406f62cbceec59114920c8b758524e (diff) | |
download | xine-lib-4a2a24dc98003e59ea9d7da982fefc81a82890d2.tar.gz xine-lib-4a2a24dc98003e59ea9d7da982fefc81a82890d2.tar.bz2 |
Unbreak xcbxv port auto-detection (broken in cset f03669a2395d).
-rw-r--r-- | src/video_out/video_out_xcbxv.c | 8 |
1 files 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; |