[mythtv-commits] Ticket #11363: Automatic change of display resolution for OpenGL video playback does not resize x11 window correctly

MythTV noreply at mythtv.org
Sun Jan 20 11:38:53 UTC 2013


#11363: Automatic change of display resolution for OpenGL video playback does not
resize x11 window correctly
-------------------------+-----------------------------------------
 Reporter:  o.mangold@…  |           Type:  Bug Report - General
   Status:  new          |       Priority:  minor
Milestone:  unknown      |      Component:  MythTV - Video Playback
  Version:  Master Head  |       Severity:  high
 Keywords:               |  Ticket locked:  0
-------------------------+-----------------------------------------
 When I set output to OpenGL and enable different resolutions for GUI and
 video, when playing video the X11 window stays on the size of the gui
 window. The video is displayed in the bottom left corner of the x11
 window.

 I tried to figured out what the problem is, and I identified 2 issues:

 - in MythRenderOpenGL::MoveResizeWindow(), the call to
 QWindget::setGeometry() does not actually change the X11 window size. I do
 not know, why this is the case
 - when I fix that, the original window size is not restored when switching
 back to GUI. I didn't find the code, where this is supposed to happen. So,
 as a hack, I added the needed code to
 VideoOutputOpenGL::~VideoOutputOpenGL()

 This solved the problem for me. You can find my patch attached.

 I'm using QT 4.8.4, mesa 9.0.1, xorg 1.13.1, kernel 3.6.11 and Intel HD
 graphics with latest i915 driver.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/11363>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list