[mythtv-commits] [MythTV/mythtv] 200e3f: Update changed streams on PMT update

kmdewaal noreply at github.com
Mon May 17 20:16:50 UTC 2021


  Branch: refs/heads/fixes/31
  Home:   https://github.com/MythTV/mythtv
  Commit: 200e3f47576d29af307ba26aed8710f02e0df227
      https://github.com/MythTV/mythtv/commit/200e3f47576d29af307ba26aed8710f02e0df227
  Author: Klaas de Waal <kdewaal at mythtv.org>
  Date:   2021-05-17 (Mon, 17 May 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

(cherry picked from commit ebeea33ad284f8827cd6caed6b30d100c4132eaf)
Signed-off-by: Klaas de Waal <kdewaal at mythtv.org>




More information about the mythtv-commits mailing list