GNOME Bugzilla – Bug 540194
[mpegdemux] Doesn't handle files with a non-zero start timestamp properly
Last modified: 2008-07-02 09:13:20 UTC
mpegdemux doesn't handle files with a non-zero start timestamp properly. It sends a NEWSEGMENT starting at 0 but pushes buffers with timestamps much after 0 for:
This results in a stalled pipeline
with the fluendo mpeg demuxer it crashes like a hippo on an ice ring.
Created attachment 113758 [details] [review]
The file referred to originally has all 0 SCR, and only some PTS, and mpegdemux relies in part on the former. Fortunately, however, not all the way, and so this patch takes care of this file (and similar).
* Bridge (timestamp) gaps by some NEWSEGMENT sending.
Looks good and works fine for me :) Good work
2008-07-02 Mark Nauwelaerts <email@example.com>
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_send_subbuffer),
Bridge gaps in stream by NEWSEGMENT sending. Fixes #540194.