ext/ogg/gstoggmux.c (gst_ogg_mux_collected): When updating timestamp, update timestamp_end as well. Fixes a bugaboo. ...

Original commit message from CVS:
2006-02-15  Andy Wingo  <wingo@pobox.com>

* ext/ogg/gstoggmux.c (gst_ogg_mux_collected): When updating
timestamp, update timestamp_end as well. Fixes a bugaboo. I hope
to the Lord Jesus that I do not have to touch the ogg muxer ever
again.
This commit is contained in:
Andy Wingo 2006-02-15 12:20:47 +00:00
parent ada63f8ef6
commit 91609bfd24
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2006-02-15 Andy Wingo <wingo@pobox.com>
* ext/ogg/gstoggmux.c (gst_ogg_mux_collected): When updating
timestamp, update timestamp_end as well. Fixes a bugaboo. I hope
to the Lord Jesus that I do not have to touch the ogg muxer ever
again.
2006-02-15 Edward Hervey <edward@fluendo.com>
* gst/typefind/gsttypefindfunctions.c: (qt_type_find):

View file

@ -1300,6 +1300,7 @@ gst_ogg_mux_collected (GstCollectPads * pads, GstOggMux * ogg_mux)
*/
if (pad->timestamp < timestamp_end) {
pad->timestamp = timestamp_end;
pad->timestamp_end = timestamp_end;
GST_DEBUG_OBJECT (ogg_mux, "Updated timestamp of pad %" GST_PTR_FORMAT
" (oggpad %p) to %" GST_TIME_FORMAT, pad->collect.pad, pad,
GST_TIME_ARGS (timestamp_end));