[mythtv-commits] [MythTV/mythtv] 962525: MythDisplayX11: Use accurate XRandR refresh rates

Mark Kendall noreply at github.com
Fri Dec 6 16:48:36 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 962525f37f621b301cf121c32aebf483053381f9
      https://github.com/MythTV/mythtv/commit/962525f37f621b301cf121c32aebf483053381f9
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2019-12-06 (Fri, 06 Dec 2019)

  Changed paths:
    M mythtv/libs/libmythtv/mythvideoout.cpp
    M mythtv/libs/libmythtv/mythvideoout.h
    M mythtv/libs/libmythtv/tv_play.cpp
    M mythtv/libs/libmythui/mythdisplay.cpp
    M mythtv/libs/libmythui/mythdisplay.h
    M mythtv/libs/libmythui/mythuihelper.cpp
    M mythtv/libs/libmythui/platforms/mythdisplayx11.cpp
    M mythtv/libs/libmythui/platforms/mythdisplayx11.h

  Log Message:
  -----------
  MythDisplayX11: Use accurate XRandR refresh rates

- use the more modern XRandR API to interrogate actual modelines
available and hence calculate refresh rates with full floating point
accuracy
- enables the removal of libxnvtrl at some point
- working on multiple testes linux platforms
- there is a fairly ugly workaround to ensure the main window is not
clipped when we have moved to a higher resolution mode - if necessary,
we hide and then show the main window. I have no idea why this is
necessary and can't work out why it is needed - all the loggging/
debugging in the world doesn't indicate why sometimes the window is
clipped.
- also moves a little state management out of MythUIHelper and
MythVideoOutput - which is a good thing.

Refs #13100




More information about the mythtv-commits mailing list