[mythtv-commits] [MythTV/mythtv] f08b0b: NVDEC: Fix handling of stream changes
Mark Kendall
noreply at github.com
Sat Feb 8 09:12:31 UTC 2020
Branch: refs/heads/fixes/31
Home: https://github.com/MythTV/mythtv
Commit: f08b0b096e05c173037e7d96d53e682dcaaedabf
https://github.com/MythTV/mythtv/commit/f08b0b096e05c173037e7d96d53e682dcaaedabf
Author: Mark Kendall <mark.kendall at gmail.com>
Date: 2020-02-08 (Sat, 08 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.
Commit: e64b1772df090edc53ef00dbc274893542d2f50b
https://github.com/MythTV/mythtv/commit/e64b1772df090edc53ef00dbc274893542d2f50b
Author: Mark Kendall <mark.kendall at gmail.com>
Date: 2020-02-08 (Sat, 08 Feb 2020)
Changed paths:
M mythtv/programs/mythfrontend/globalsettings.cpp
Log Message:
-----------
globalsettings: Typo
Commit: 28a0c5c5c69ef748b81ff2af72d27a18a8824bb8
https://github.com/MythTV/mythtv/commit/28a0c5c5c69ef748b81ff2af72d27a18a8824bb8
Author: Mark Kendall <mark.kendall at gmail.com>
Date: 2020-02-08 (Sat, 08 Feb 2020)
Changed paths:
M mythtv/libs/libmythtv/decoders/mythnvdeccontext.cpp
M mythtv/libs/libmythtv/decoders/mythnvdeccontext.h
Log Message:
-----------
NVDEC: Improve hardware frame context handling
- retain a reference to the created frames context and re-use it if
possible.
- works around streams that trigger a get_format call for each sequence;
but is probably a better solution regardless
Compare: https://github.com/MythTV/mythtv/compare/35cb9ed0c54f...28a0c5c5c69e
More information about the mythtv-commits
mailing list