[mythtv-users] Playback scaling issues with 0.22-fixes
Jonatan
mythtv at comhem.se
Sat Oct 24 14:51:53 UTC 2009
Robin Hill wrote:
> I've just upgraded to the 0.22-fixes branch and have run into some
> issues with playback.
>
> I run the GUI at 960x540 (which is the highest resolution I've found a
> working modeline for my TV for), then switch to 720x576 for watching
> recordings (PAL TV, so there should be no scaling). This worked fine
> with 0.21 but I now only get part of the picture - it's been scaled up
> (probably to 960 pixels), then the right-hand side is cut off.
>
> I found an old post reporting the same (or a similar) issue
> (http://www.mailinglistarchive.com/mythtv-users@mythtv.org/msg99689.html)
> but that didn't seem to reach any resolution (he switched to VDPAU which
> didn't have the same issue). He also didn't see the issue with LiveTV,
> whereas I get the same problem with both LiveTV and recordings.
>
I also see the behavior of scaling to the virtual size when using Xv output. I have tracked it down
to be due to the call mainWindow->setGeometry(player_bounds) near the end of TV::HandleStateChange.
This eventually ends up calling VideoOutputXv::WindowResized which causes the mentioned behavior.
It works fine for OpenGL output since the WindowResized member function hasn't been implemented.
A quick fix would be to comment out the contents of VideoOutputXv::WindowResized. That worked for me.
Another solution that seems to work, though may not be the proper one, is to set player_bounds to
the width and height of the current screen before mainWindow->setGeometry(player_bounds) is called.
The attached patch does this.
/Jonatan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xv.patch
Type: text/x-diff
Size: 1038 bytes
Desc: not available
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20091024/46f22b1a/attachment.patch>
More information about the mythtv-users
mailing list