[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xine-cvslog
Subject:    [xine-cvs] HG: xine-lib-1.2: Unbreak xcbxv port auto-detection
From:       Darren Salt <linux () youmustbejoking ! demon ! co ! uk>
Date:       2008-02-29 15:18:08
Message-ID: 23c7b905daf0344dd6c8.1204206479 () hg ! debian ! org
[Download RAW message or body]

# HG changeset patch
# User Darren Salt <linux@youmustbejoking.demon.co.uk>
# Date 1204206479 0
# Node ID 23c7b905daf0344dd6c8bbced36637159d831880
# Parent  f03669a2395d97a3e40615db1089af084a69d299
Unbreak xcbxv port auto-detection (broken in cset f03669a2395d).

diff -r 23c7b905daf0344dd6c8bbced36637159d831880 -r \
                f03669a2395d97a3e40615db1089af084a69d299 \
                src/video_out/video_out_xcbxv.c
--- a/src/video_out/video_out_xcbxv.c	Thu Feb 28 13:47:59 2008 +0000
+++ b/src/video_out/video_out_xcbxv.c	Mon Feb 25 18:53:19 2008 +0000
@@ -1133,12 +1133,8 @@ static xcb_xv_port_t xv_autodetect_port(
       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;

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Xine-cvslog mailing list
Xine-cvslog@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xine-cvslog


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic