[mythtv-commits] [MythTV/mythtv] ff6b2a: MythPlayer: Ensure we recheck deinterlacing when t...

Mark Kendall noreply at github.com
Wed Oct 16 13:26:20 UTC 2019


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

  Changed paths:
    M mythtv/libs/libmythtv/mythplayer.cpp

  Log Message:
  -----------
  MythPlayer: Ensure we recheck deinterlacing when the speed changes

- the player may be paused when double rate support is checked and hence
double rate is not enabled when it should be


  Commit: 8587b1e6151839a1cc24829f9cd71f2751c7a15e
      https://github.com/MythTV/mythtv/commit/8587b1e6151839a1cc24829f9cd71f2751c7a15e
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2019-10-16 (Wed, 16 Oct 2019)

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

  Log Message:
  -----------
  MythVAAPIInterop: Fix/cleanup VPP deinterlacing

- when the deinterlacer is created/destroyed/recreated, ensure we
release existing frame caches
- this primarily fixes an issue when the deinterlacer was recreated and
we were displaying old textures
- also improves memory management - as we only need to retain textures
for the current 'stream' e.g. when a deinterlacer is enabled, the old
texture cache for progressive frames is no longer required.


  Commit: 23421d288b610b4fb01ff7dd2864148db17550c8
      https://github.com/MythTV/mythtv/commit/23421d288b610b4fb01ff7dd2864148db17550c8
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2019-10-16 (Wed, 16 Oct 2019)

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

  Log Message:
  -----------
  MythVAAPIInterop: A little optimisation for VPP deinterlacing

- track the current field we are expecting for double rate deinterlacers
and only ask for the second field when required
- at startup, add the frame a few times to prime the deinterlacer. This
ensures we never return frames from the main frame pool and hence do not
use OpenGL textures for frames we won't see again - hence saving a
little memory (typically 2 frames/textures saved)


Compare: https://github.com/MythTV/mythtv/compare/8ac19080a8d9...23421d288b61


More information about the mythtv-commits mailing list