[mythtv-commits] [MythTV/mythtv] 1e3a7e: MythDeinterlacer: Minor improvement to onefield cp...

Mark Kendall noreply at github.com
Tue Oct 8 09:35:20 UTC 2019


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

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

  Log Message:
  -----------
  MythDeinterlacer: Minor improvement to onefield cpu deint

- it's still rubbish though:)


  Commit: 372f8be97a9cadca87af5961e52cb9247ce80f08
      https://github.com/MythTV/mythtv/commit/372f8be97a9cadca87af5961e52cb9247ce80f08
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2019-10-08 (Tue, 08 Oct 2019)

  Changed paths:
    M mythtv/libs/libmythtv/DVD/avformatdecoderdvd.cpp
    M mythtv/libs/libmythtv/decoders/avformatdecoder.cpp
    M mythtv/libs/libmythtv/decoders/mythcodeccontext.h
    M mythtv/libs/libmythtv/decoders/nuppeldecoder.cpp
    M mythtv/libs/libmythtv/mythplayer.cpp
    M mythtv/libs/libmythtv/mythplayer.h
    M mythtv/libs/libmythtv/mythvaapicontext.cpp
    M mythtv/libs/libmythtv/mythvaapicontext.h
    M mythtv/libs/libmythtv/mythvdpaucontext.cpp
    M mythtv/libs/libmythtv/mythvdpaucontext.h
    M mythtv/libs/libmythtv/openglvideo.cpp
    M mythtv/libs/libmythtv/videoout_opengl.cpp
    M mythtv/libs/libmythtv/videoout_opengl.h
    M mythtv/libs/libmythtv/videooutbase.cpp
    M mythtv/libs/libmythtv/videooutbase.h

  Log Message:
  -----------
  VAAPI/VDPAU: Workaround pause frame retention when seeking

- both VAAPI and VDPAU use AVHWFramesContexts when direct rendering. For
H264 content, the hardware context is recreated when we flush the decoder
but the old context is not released (due to reference counting) until we
have released the retained hardware pause frame.
- this causes temporary spikes in video resource usage and can lead to
failures - particularly with VDPAU.
- so ensure the pause frame is released when using VDPAU/VAAPI and H264
- this means there is no pause frame when seeking - so there will often
be an unwelcome screen blanking.
- the only viable alternative is to force OpenGLVideo to use the resize
stage for these decoder/codec combinations and use the intermediate
framebuffer as a 'pause frame of last resort'.
- there are other pause frame related issues when seeking but not yet
sure of cause.


Compare: https://github.com/MythTV/mythtv/compare/30e74741c029...372f8be97a9c


More information about the mythtv-commits mailing list