[mythtv-commits] Ticket #13054: Video Playback vertical offset when using UseVideoModes=1 for JudderFree support

MythTV noreply at mythtv.org
Mon Sep 18 19:28:06 UTC 2017


#13054: Video Playback vertical offset when using UseVideoModes=1 for JudderFree
support
-------------------------------------+--------------------------------
 Reporter:  support@…                |          Owner:  pbennett
     Type:  Bug Report - General     |         Status:  infoneeded_new
 Priority:  minor                    |      Milestone:  unknown
Component:  MythTV - Video Playback  |        Version:  0.28.1
 Severity:  medium                   |     Resolution:
 Keywords:                           |  Ticket locked:  0
-------------------------------------+--------------------------------

Comment (by pbennett):

 I have done a number of tests and tried a few things.

 My patch above to force fullscreen does not work.

 If I leave GUI as 0x0 separate video modes work for me on both Intel and
 NVidia. In this case the GUI sets the window as fullscreen, with no menu
 bar visible.

 If I set a different size for the GUI, the code uses a normal window,
 which means the menu bar is visible. In this case if you set your window
 as 1920x1080 part of it will be off screen since the menu bar takes up
 some of the screen. You may be able to solve this by setting the panel as
 auto-hide. If using a normal window this way, both the GUI and video
 playback are in windowed mode even if you set it to not use GUI size for
 playback.

 If you set a GUI size, the code is using a normal window, the code starts
 getting into calculating window sizes and positions. When you combine this
 with mode switching, the results are not good. I tried tweaking the values
 and could not find the correct solution. I think a rewrite of some of the
 window handling is needed.

 This is what I observed:

 * Gui Dimension , use GUI size, sep modes with same size - OK
 * Gui Dimension , use GUI size, sep modes with diff size - OK but this
 makes no sense because the position and size in pixels no longer fit the
 screen size
 * Gui Dimension , NOT use GUI size, sep modes with same size - picture
 cropped
 * Gui Dimension , NOT use GUI size, sep modes with diff size - picture
 offset and cropped
 * NO Gui Dimension , NOT use GUI size, sep modes with same size - OK
 * NO Gui Dimension , NOT use GUI size, sep modes with diff size - OK
 * Gui Dimension , NOT use GUI size, NO sep modes - OK but xfce status bar
 shows

 I think we need to change so that when switching modes, using GUI size for
 video should be disabled, because the resulting picture may not fit on the
 screen. Also we should change it so that if using GUI size for video is
 disabled, it should go full screen for the video.

 I think all that is beyond the scope of this ticket.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13054#comment:42>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list