diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2008-10-08 10:21:20 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-10-08 10:21:20 +0000 |
commit | 453b704a09ce4fbbd3e82a613c81a58c8a70712c (patch) | |
tree | ec2483555f9960411dac419f555ae280e7b106d3 /ChangeLog | |
parent | a1b977dc8b3fe18c63cc7edbe2cefd38351b172c (diff) | |
download | gst-plugins-bad-453b704a09ce4fbbd3e82a613c81a58c8a70712c.tar.gz gst-plugins-bad-453b704a09ce4fbbd3e82a613c81a58c8a70712c.tar.bz2 gst-plugins-bad-453b704a09ce4fbbd3e82a613c81a58c8a70712c.zip |
gst/mpegdemux/gstmpegdemux.c: Prevent a division by zero if last mux rate was zero.
Original commit message from CVS:
* gst/mpegdemux/gstmpegdemux.c: (gst_flups_demux_send_data),
(gst_flups_demux_parse_pack_start):
Prevent a division by zero if last mux rate was zero.
If we're going to send a NEWSEGMENT event but the segment start
and the current buffer timestamp differ by more than a second we
will start the NEWSEGMENT at the buffer timestamp.
This fixes playback of the tv2-1_25.mpg file, which has 0 as first SCR
but the first PTS are around 1 hour and 40 minutes.
Fixes bug #553755.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -1,3 +1,18 @@ +2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk> + + * gst/mpegdemux/gstmpegdemux.c: (gst_flups_demux_send_data), + (gst_flups_demux_parse_pack_start): + Prevent a division by zero if last mux rate was zero. + + If we're going to send a NEWSEGMENT event but the segment start + and the current buffer timestamp differ by more than a second we + will start the NEWSEGMENT at the buffer timestamp. + + This fixes playback of the tv2-1_25.mpg file, which has 0 as first SCR + but the first PTS are around 1 hour and 40 minutes. + + Fixes bug #553755. + 2008-10-07 Jan Schmidt <jan.schmidt@sun.com> * ext/resindvd/resindvdsrc.c: |