[mythtv-commits] Ticket #13618: Issue in macOS for playback of 480p/i videos on retina display

MythTV noreply at mythtv.org
Tue Jul 7 12:28:31 UTC 2020


#13618: Issue in macOS for playback of 480p/i videos on retina display
-------------------------------------+------------------------------
 Reporter:  John Hoyt                |          Owner:  Mark Kendall
     Type:  Bug Report - General     |         Status:  closed
 Priority:  minor                    |      Milestone:  31.1
Component:  MythTV - Video Playback  |        Version:  v31-fixes
 Severity:  medium                   |     Resolution:  fixed
 Keywords:  MacOS VideoToolbox       |  Ticket locked:  0
-------------------------------------+------------------------------

Comment (by Mark Kendall <mark.kendall@…>):

 In [changeset:"8a0c4f9bd2d9567ccbdb4151d7c03068388b45a6/mythtv"
 8a0c4f9bd/mythtv]:
             {{{
             #!CommitTicketReference repository="mythtv"
 revision="8a0c4f9bd2d9567ccbdb4151d7c03068388b45a6"
             macos: Handle high DPI displays

 - behaviour should be unchanged for non-macos installations
 - the underlying problem is that when macos is using high DPI, the
 windowing system reports e.g. 1920x1080 as the window size but the
 underlying OpenGL context is using the full resolution e.g. 3840x2160.
 - video playback is actually easiest - as we just scale the video
 window/viewport as needed - and everything else falls into place.
 - the UI painter is slightly more complicated as our UI images are at
 the lower resolution - and the entire UI code is operating on the
 reported window size. So scale incoming rendering data as required,
 which also requires some tweaking of the texture vertices.

 Refs #13618
             }}}

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


More information about the mythtv-commits mailing list