[mythtv-commits] [MythTV/mythtv] 3713a1: macos High DPI: Fix scaling of embedded video

Mark Kendall noreply at github.com
Sat Sep 19 10:15:10 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 3713a1e317720f5d7c4f7897727e46f8f5f5e666
      https://github.com/MythTV/mythtv/commit/3713a1e317720f5d7c4f7897727e46f8f5f5e666
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-09-19 (Sat, 19 Sep 2020)

  Changed paths:
    M mythtv/libs/libmythtv/mythvideobounds.cpp
    M mythtv/libs/libmythtv/mythvideobounds.h

  Log Message:
  -----------
  macos High DPI: Fix scaling of embedded video

- when high DPI is in use, we need to apply the correct scaling to
  both the embedding rect and ITV resize rect
- as for the window rect, store the 'raw' values and use these as
  comparators for detecting change

Refs #206




More information about the mythtv-commits mailing list