[mythtv-commits] [MythTV/mythtv] 093d48: MythVRR: Fix an unused variable warning

Mark Kendall noreply at github.com
Thu Feb 11 10:12:38 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 093d48da607a0de0bddd89c1fcfe99a7b24e53bf
      https://github.com/MythTV/mythtv/commit/093d48da607a0de0bddd89c1fcfe99a7b24e53bf
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2021-02-11 (Thu, 11 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythui/mythvrr.cpp

  Log Message:
  -----------
  MythVRR: Fix an unused variable warning


  Commit: 39abd61bb5cfa15a7f886a1c6fc2aa1301bdd566
      https://github.com/MythTV/mythtv/commit/39abd61bb5cfa15a7f886a1c6fc2aa1301bdd566
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2021-02-11 (Thu, 11 Feb 2021)

  Changed paths:
    M mythtv/libs/libmyth/audio/audiooutputgraph.cpp
    M mythtv/libs/libmyth/audio/audiooutputgraph.h

  Log Message:
  -----------
  AudioOutputGraph: Minor code cleanup

- mostly coding standards, minor old-style cast warnings etc


  Commit: 3032f0af8c52a6c190544a9cf04f4b78b2ec35cf
      https://github.com/MythTV/mythtv/commit/3032f0af8c52a6c190544a9cf04f4b78b2ec35cf
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2021-02-11 (Thu, 11 Feb 2021)

  Changed paths:
    R mythtv/libs/libmythtv/drm/mythhdrtrackerdrm.cpp
    R mythtv/libs/libmythtv/drm/mythhdrtrackerdrm.h
    M mythtv/libs/libmythtv/drm/mythvideodrmutils.cpp
    M mythtv/libs/libmythtv/drm/mythvideodrmutils.h
    M mythtv/libs/libmythtv/libmythtv.pro
    M mythtv/libs/libmythtv/mythavutil.cpp
    M mythtv/libs/libmythtv/mythavutil.h
    M mythtv/libs/libmythtv/mythhdrtracker.cpp
    M mythtv/libs/libmythtv/mythhdrtracker.h
    M mythtv/libs/libmythui/libmythui.pro
    M mythtv/libs/libmythui/mythdisplay.cpp
    M mythtv/libs/libmythui/mythdisplay.h
    M mythtv/libs/libmythui/mythedid.cpp
    M mythtv/libs/libmythui/mythedid.h
    M mythtv/libs/libmythui/mythhdr.cpp
    M mythtv/libs/libmythui/mythhdr.h
    A mythtv/libs/libmythui/platforms/drm/mythdrmhdr.cpp
    A mythtv/libs/libmythui/platforms/drm/mythdrmhdr.h
    M mythtv/libs/libmythui/platforms/mythdisplaydrm.cpp
    M mythtv/libs/libmythui/platforms/mythdisplaydrm.h

  Log Message:
  -----------
  HDR: Refactor, fix, improve...

- move all platform specific (i.e. DRM) code into libmythui. all HDR code
in libmythtv should now be platform independent.
- fix static metadata type 1 definition (which was/is wrong in the kernel
- see https://lists.freedesktop.org/archives/dri-devel/2021-January/
295187.html)
- fix reverting to SDR/turning off HDR on some platforms - rather than
just deleting the metadata we need to explicitly set metatada for SDR
(and moving the code into libmythui allows us to do this without leaking
DRM resources)


  Commit: 24f018d6ec59fe22739e89dd676b332cd3ba791c
      https://github.com/MythTV/mythtv/commit/24f018d6ec59fe22739e89dd676b332cd3ba791c
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2021-02-11 (Thu, 11 Feb 2021)

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

  Log Message:
  -----------
  HDR: Enable HDR mode switching

- this is only currently supported when using a DRM authenticated
connection - which for clarity generally means using eglfs when neither
X11 or wayland are running
- there is no setting for this yet - as any failure probably just means
displaying washed out HDR - just like the existing code:)
- tested with amdgpu but should work with Intel (untested) and various
SoCs
- will definitely NOT work with *anything* nvidia
- limited display testing (one LG with HDR10 and one Samsung with HDR10
and HLG)
- NOTE: For the time being at least, the OSD will look a little gaudy/
over saturated when HDR is enabled (as they are non-HDR images).

To try out, switch to an unused VT (e.g. CTRL-ALT F3) and start
mythfrontend with something like 'mythfrontend -platform eglfs' (you may
need to check the permissions of your mouse/keyboard devices to ensure
these still work).

Check the logs for relevant details and the 'System Status' frontend
screen will show any HDR support in the 'Display' section.


Compare: https://github.com/MythTV/mythtv/compare/8781e32d2aae...24f018d6ec59


More information about the mythtv-commits mailing list