[mythtv-commits] mythtv commit: r21004 by markk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Thu Jul 23 14:40:59 UTC 2009


      Author: markk
        Date: 2009-07-23 14:40:59 +0000 (Thu, 23 Jul 2009)
New Revision: 21004
   Changeset: http://cvs.mythtv.org/trac/changeset/21004

Modified:

   trunk/mythtv/libs/libmythtv/mhi.cpp
   trunk/mythtv/libs/libmythtv/mhi.h

Log:

Fix incorrect interactive tv video resizing when using full screen OSDs (VDPAU, OpenGL etc) with certain display configurations.

Essentially, the MHEG internals are unaware of the full screen size and only care about the MHEG bounds provided by the VideoOutput method (as any MHEG graphics will occupy the same space as the video). When the display rectangle is a subset of the fullscreen (e.g. 16/9 video on a 16/10 display), video resizing is unnecessarily triggered and the wrong offset is used. The fix is to store the full window size in the interactive tv object and use the correct offset when feeding data back to the VideoOutput and OSD objects.





More information about the mythtv-commits mailing list