[mythtv-commits] [MythTV/mythtv] 0942ab: macOS video: Fix scaling of OSD
Mark Kendall
noreply at github.com
Thu Sep 17 12:59:45 UTC 2020
Branch: refs/heads/fixes/31
Home: https://github.com/MythTV/mythtv
Commit: 0942abd9ec355443ad477dce735167206ba4faf5
https://github.com/MythTV/mythtv/commit/0942abd9ec355443ad477dce735167206ba4faf5
Author: Mark Kendall <mark.kendall at gmail.com>
Date: 2020-09-17 (Thu, 17 Sep 2020)
Changed paths:
M mythtv/libs/libmythui/opengl/mythpainteropengl.cpp
Log Message:
-----------
macOS video: Fix scaling of OSD
- when high dpi is in use
Refs #206
Commit: b5f1d03fa8040dbf94621eb6d52cb30b7832fd3d
https://github.com/MythTV/mythtv/commit/b5f1d03fa8040dbf94621eb6d52cb30b7832fd3d
Author: Mark Kendall <mark.kendall at gmail.com>
Date: 2020-09-17 (Thu, 17 Sep 2020)
Changed paths:
M mythtv/libs/libmythtv/opengl/mythvideooutopengl.cpp
Log Message:
-----------
macOS video: Fix scaling of video after an input change (high dpi)
- when the display is using high DPI, after an input change we re-init MythVideoBounds but with the current display rectangle; that has already been scaled for high DPI - leading to a doubling of the display rectangle on each input change and a halving of the displayed video.
- reset MythVideoBounds using its 'raw' window rect - which will then have the scaling applied again - and all is good
- should only affect macos with high dpi in use
Refs #206
Compare: https://github.com/MythTV/mythtv/compare/b033cd7b75a9...b5f1d03fa804
More information about the mythtv-commits
mailing list