[mythtv-commits] [MythTV/mythtv] 518194: NVDEC: Fix handling of stream changes

Mark Kendall noreply at github.com
Thu Feb 6 15:42:29 UTC 2020


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

  Changed paths:
    M mythtv/libs/libmythtv/decoders/avformatdecoder.cpp
    M mythtv/libs/libmythtv/decoders/mythnvdeccontext.cpp
    M mythtv/libs/libmythtv/decoders/mythnvdeccontext.h
    M mythtv/libs/libmythtv/mythframe.h
    M mythtv/libs/libmythtv/opengl/mythopenglvideo.cpp
    M mythtv/libs/libmythtv/videobuffers.cpp

  Log Message:
  -----------
  NVDEC: Fix handling of stream changes

- the NVDEC decoder would fail if the stream resolution increased
- as a workaroud, allocate our 'own' frames context - which for some
reason the decoder is happy to release at the correct times and the
decoder continues without issue
- as a side effect, we now need to treat nvdec like VAAPI and VDPAU
(which also use an allocated frames context) and release the pause frame
when seeking/flushing.




More information about the mythtv-commits mailing list