[mythtv-commits] Ticket #7408: Recording playback scaling incorrect with xv
MythTV
mythtv at cvs.mythtv.org
Sun Oct 3 12:24:31 UTC 2010
#7408: Recording playback scaling incorrect with xv
-----------------------------------------------+----------------------------
Reporter: Robin Hill <myth@…> | Owner: markk
Type: defect | Status: infoneeded
Priority: minor | Milestone: 0.24
Component: MythTV - Video Playback | Version: 0.22rc1
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
-----------------------------------------------+----------------------------
Comment (by Jonatan <mythtv@…>):
I am still seeing this with r26598. See log excerpts with -v playback
below and attached logs. I added a log like "QEvent::Resize(<width>,
<height>)" of any resize events received in tv_play.cpp.
I am using Qt 4.6.2 if it has any relevance.
As you mention, OpenGL playback also has a similar problem but with a
different display rect it seems.
The display resolution has changed to 720x576 prior to the point where the
excerpts were taken.
Trunk behavior:
{{{
2010-10-02 14:20:14.373 TV: StartPlayer(0, WatchingPreRecorded, main) --
end ok
2010-10-02 14:20:14.374 SendReceiveStringList(MESSAGE,COMMFLAG_REQUEST
5135_2010-10-02T04:57:00) called from UI thread
2010-10-02 14:20:14.380 TV: Changing from None to WatchingPreRecorded
2010-10-02 14:20:14.391 QEvent::Resize(1920, 1080)
2010-10-02 14:20:14.391 Display Rect left: 242, top: 0, width: 1436,
height: 1080, aspect: 2.37731
2010-10-02 14:20:14.391 Video Rect left: 0, top: 0, width: 720, height:
576, aspect: 1.77778
}}}
Behavior with fix mentioned in comment comment:4, and attached patch:
{{{
2010-10-02 14:15:47.451 TV: StartPlayer(0, WatchingPreRecorded, main) --
end ok
2010-10-02 14:15:47.451 SendReceiveStringList(MESSAGE,COMMFLAG_REQUEST
5135_2010-10-02T04:57:00) called from UI thread
2010-10-02 14:15:47.455 TV: Changing from None to WatchingPreRecorded
2010-10-02 14:15:47.470 QEvent::Resize(1920, 1080)
2010-10-02 14:15:47.470 Trying to match best refresh rate 25.000Hz
2010-10-02 14:15:47.470 Trying 720x576 50.000 Hz
2010-10-02 14:15:47.471 Dynamic TwinView rate found, set 50Hz as XRandR 99
2010-10-02 14:15:47.471 SwitchToVideo: Video size 720 x 576:
Switched to displaying resolution 720 x 576, 481mm x 270mm
2010-10-02 14:15:47.506 Snapping height to avoid scaling: height: 576,
top: 0
2010-10-02 14:15:47.506 Snapping width to avoid scaling: width: 720, left:
0
2010-10-02 14:15:47.506 Display Rect left: 0, top: 0, width: 720, height:
576, aspect: 1.77778
2010-10-02 14:15:47.506 Video Rect left: 0, top: 0, width: 720, height:
576, aspect: 1.77778
2010-10-02 14:15:47.506 Snapping height to avoid scaling: height: 576,
top: 0
2010-10-02 14:15:47.506 Snapping width to avoid scaling: width: 720, left:
0
2010-10-02 14:15:47.506 Display Rect left: 0, top: 0, width: 720, height:
576, aspect: 1.77778
2010-10-02 14:15:47.506 Video Rect left: 0, top: 0, width: 720, height:
576, aspect: 1.77778
}}}
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7408#comment:8>
MythTV <http://www.mythtv.org/>
MythTV Media Center
More information about the mythtv-commits
mailing list