[mythtv-commits] [MythTV/mythtv] 5f3db6: MythXDisplay: Store the display string in use

Mark Kendall noreply at github.com
Tue Oct 15 11:20:10 UTC 2019

  Branch: refs/heads/devel/2019-render
  Home:   https://github.com/MythTV/mythtv
  Commit: 5f3db625d186eed0baf23d47d8c5c983956ce69f
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2019-10-15 (Tue, 15 Oct 2019)

  Changed paths:
    M mythtv/libs/libmythui/mythxdisplay.cpp
    M mythtv/libs/libmythui/mythxdisplay.h

  Log Message:
  MythXDisplay: Store the display string in use

  Commit: 6678ba7b598caa3a9eceaa8b0432cb9b8b47af0e
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2019-10-15 (Tue, 15 Oct 2019)

  Changed paths:
    M mythtv/libs/libmythtv/decoders/avformatdecoder.cpp

  Log Message:
  AvFormatDecoder: Fix a regression in OpenFile for non-live tv

- the additional sanity check sometimes fails for regular videos - which
otherwise work and have been working for aeons.

  Commit: 1e1d61335ae052456e5e8f3de8b9cf2258560e36
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2019-10-15 (Tue, 15 Oct 2019)

  Changed paths:
    M mythtv/libs/libmythui/DisplayResX.cpp
    M mythtv/libs/libmythui/DisplayResX.h
    M mythtv/libs/libmythui/util-nvctrl.cpp
    M mythtv/libs/libmythui/util-nvctrl.h

  Log Message:
  util-nvctrl: Fix NV-CONTROL refresh rate detection

- this appears to have stopped working correctly, in my case because the
incorrect display mask was being returned.
- according to the headers NV_CTRL_CONNECTED_DISPLAYS is deprecated -
which may account for the change in behaviour
- so convert to the recommened usage, the primary benefit being we
retrieve an actual display identifier (e.g. DFP-2) from the libarary and
use this to filter the metamodes.
- I also took the opportunity to welcome the code to the world of Qt C+
+11 (rather than a copy and paste from the nvidia settings code).
- sundry changes include simpler string parsing, cleanup of sundry clang
warnings, move if/def'd code out of DisplayResX, better debugging of
rates/modes, header cleanup and filtering out of unsupported modes that
are also not returned by xrandr.
- with NV-CONTROL in use and -v playback logging, the final set of modes/
rates will be logged in a format similar to the output of xrandr
- code still seems clunky and could probably be simplified further

Compare: https://github.com/MythTV/mythtv/compare/76bca2a65d51...1e1d61335ae0

More information about the mythtv-commits mailing list