[mythtv] [PATCH] Enable/Disable OpenGL VSync via mythfrontend or environment variable

Joe Votour joevph at yahoo.com
Sun May 22 18:40:13 UTC 2005


I'm attaching two (small) patches, which should work
against CVS HEAD (I also have the patches for the
0.18.1 release as well).  The patches are meant to be
run in the specific directories of vsync.cpp and
globalsettings.cpp, but if requested, I could make
them into one patch, and/or make them patch from the
root MythTV folder.

The purpose of these patches is to give the people who
want to compile OpenGL VSync into MythTV the ability
to disable or enable it at run-time.  Currently, once
it is compiled in, it is always used, unless the check
fails.  I know that Jarod and Axel (from ATrpms) would
like to have such an option so that they can provide
OpenGL-enabled RPMs, and myself, well, I have a vested
interest too - I'd rather not recompile the RPMs for
every release.

The option to enable/disable OpenGL VSync (according
to these patches) is located in Utilities/Setup ->
Setup -> TV Settings -> Playback, on the Hardware
Decoding Settings, just above "Use hardware XvMC MPEG
Decoding".  It could be moved someplace else, but that
seemed to be the most logical place, since it involves
hardware-specific functionality (I know that it works
with nVidia binary drivers, but I don't know about any
others).

-- Joe


		
__________________________________ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: globalsettings.cpp.patch
Type: application/octet-stream
Size: 1135 bytes
Desc: 592050526-globalsettings.cpp.patch
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050522/8c72d98f/globalsettings.cpp.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vsync.cpp.patch
Type: application/octet-stream
Size: 464 bytes
Desc: 3870000563-vsync.cpp.patch
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050522/8c72d98f/vsync.cpp.obj


More information about the mythtv-dev mailing list