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

Jarod Wilson jarod at wilsonet.com
Sat May 28 00:50:14 UTC 2005


On Friday 27 May 2005 15:34, Jarod Wilson wrote:
> > I've got a fully working version now. I set USING_OPENGL_VSYNC in
> > configure instead of using that line in mythfrontend.pro, and everything
> > built as expected with the #ifdefs in place. However, I think the problem
> > is more accurately fixed by changing the line in mythfrontend.pro from
> >
> > using_opengl: DEFINES += USING_OPENGL_VSYNC
> >
> > to
> >
> > using_opengl_vsync: DEFINES += USING_OPENGL_VSYNC
> >
> > I'm rebuilding that way to test now.
>
> That works. Attaching the fully functional patch I'm now using.
>
> > Not sure what to say about the connect portion. Its working for me right
> > now w/it in there, but I started w/this patch on cvs head, not 0.18.1.
>
> This is still in there too, works without a problem...

Isaac just told me what that connect(...) is for. It disables the given option 
if libmpeg2 is in use. Assuming you're using libmpeg2 for decode, that 
probably explains why it was greyed out for Joe and not for me (I'm using 
ffmpeg decode).

Anyhow, with a minor tweak to the description and removal of that connect 
(since opengl vsync should work w/libmpeg2 decode also), I've just committed 
this to CVS HEAD, and will bring it back into the release-0-18-fixes branch 
sometime relatively soon...

-- 
Jarod Wilson
jarod at wilsonet.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050527/33b65ad9/attachment-0001.pgp


More information about the mythtv-dev mailing list