[mythtv] [PATCH] XvMC picture controls

Ivor Hewitt ivor at ivor.org
Tue Sep 14 16:59:38 EDT 2004


This tiny patch enables the picture control adjusments for xvmc by echoing the 
xv attributes to the xvmc driver.

-- 
Ivor Hewitt.
http://www.ivor.it - tech | http://www.ivor.org - hedge


Index: videoout_xvmc.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/videoout_xvmc.cpp,v
retrieving revision 1.36
diff -u -3 -p -u -r1.36 videoout_xvmc.cpp
--- videoout_xvmc.cpp   13 Sep 2004 06:09:24 -0000      1.36
+++ videoout_xvmc.cpp   14 Sep 2004 19:57:50 -0000
@@ -1202,6 +1202,10 @@ int VideoOutputXvMC::ChangePictureAttrib

             XvSetPortAttribute(data->XJ_disp, xv_port, attribute, value);

+            XvMCSetAttribute(data->XJ_disp, &data->ctx,
+                attribute,
+                value);
+
             pthread_mutex_unlock(&lock);

             return newValue;




More information about the mythtv-dev mailing list