Mailing List Archive

[MythTV/mythtv] ebeea3: Update changed streams on PMT update
Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: ebeea33ad284f8827cd6caed6b30d100c4132eaf
https://github.com/MythTV/mythtv/commit/ebeea33ad284f8827cd6caed6b30d100c4132eaf
Author: Klaas de Waal <kdewaal@mythtv.org>
Date: 2021-04-19 (Mon, 19 Apr 2021)

Changed paths:
M mythtv/external/FFmpeg/libavformat/mpegts-mythtv.c

Log Message:
-----------
Update changed streams on PMT update

On playback, when a new version of the PMT (program map table) is received, start
updating the streams at the first stream that is changed, beginning with stream 0,
instead of resetting all streams.
This fixes playback problems that occur when there is a PMT version update in the
first part of the recording that is scanned before the playback starts.
At the start of the playback there is then a PMT change back to the previous version;
this change causes a reset of all stream data; the video playback is then started
with default size of 640x480 and default framerate of 29.97Hz.

Fixes #351
Fixes #trac-13557


_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-commits