[mythtv-commits] [MythTV/mythtv] a062b4: VAAPI: Re-enable VPP deinterlacing for decode only

Mark Kendall noreply at github.com
Mon Jun 17 11:00:31 UTC 2019


  Branch: refs/heads/devel/2019-render
  Home:   https://github.com/MythTV/mythtv
  Commit: a062b40e8848b8652f763d4f57774656760f81c8
      https://github.com/MythTV/mythtv/commit/a062b40e8848b8652f763d4f57774656760f81c8
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2019-06-17 (Mon, 17 Jun 2019)

  Changed paths:
    M mythtv/libs/libmythtv/decoders/avformatdecoder.cpp
    M mythtv/libs/libmythtv/mythframe.h
    M mythtv/libs/libmythtv/mythplayer.cpp
    M mythtv/libs/libmythtv/mythvaapicontext.cpp
    M mythtv/libs/libmythtv/mythvaapicontext.h
    M mythtv/libs/libmythtv/mythvaapiinterop.cpp

  Log Message:
  -----------
  VAAPI: Re-enable VPP deinterlacing for decode only

- don't try and enable deinterlacing for HEVC, VP8 and VP9. Bad things
happen.
- work around missing pts values for some streams
- flag decoder deinterlaced frames as such, preserve the original
interlaced flags and then don't try and display them twice in the player.
The logic here is slightly circular as we want to maintain our scan
settings but the decoder is then returning progressive frames. Longer
term it may be better to move scan management into the decoder.


  Commit: 9f79a064c05c3f643dfccddbc119454e0ccd5618
      https://github.com/MythTV/mythtv/commit/9f79a064c05c3f643dfccddbc119454e0ccd5618
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2019-06-17 (Mon, 17 Jun 2019)

  Changed paths:
    M mythtv/libs/libmythtv/decoders/avformatdecoder.cpp
    M mythtv/libs/libmythtv/decoders/mythcodeccontext.h
    M mythtv/libs/libmythtv/mythmediacodeccontext.cpp
    M mythtv/libs/libmythtv/mythmediacodeccontext.h
    M mythtv/libs/libmythtv/mythnvdeccontext.cpp
    M mythtv/libs/libmythtv/mythnvdeccontext.h
    M mythtv/libs/libmythtv/mythvaapicontext.cpp
    M mythtv/libs/libmythtv/mythvaapicontext.h

  Log Message:
  -----------
  VAAPI: Fix VPP deinterlacing after stream change


  Commit: cc6bf76ae11e5b71ae93b768f6227539200730df
      https://github.com/MythTV/mythtv/commit/cc6bf76ae11e5b71ae93b768f6227539200730df
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2019-06-17 (Mon, 17 Jun 2019)

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

  Log Message:
  -----------
  VAAPI: Revert to creating decode only context in HwDecoderInit

- this avoids creating multiple (seemingly leaked) contexts when
GetFormat is called multiple times for VP8 and fixes VPP deinterlacing
through aspect only stream changes


Compare: https://github.com/MythTV/mythtv/compare/bd093baaa1bd...cc6bf76ae11e


More information about the mythtv-commits mailing list