ext/ogg/gstoggmux.c (gst_ogg_mux_collected): When updating timestamp, update timestam...
authorAndy Wingo <wingo@pobox.com>
Wed, 15 Feb 2006 12:20:47 +0000 (12:20 +0000)
committerAndy Wingo <wingo@pobox.com>
Wed, 15 Feb 2006 12:20:47 +0000 (12:20 +0000)
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.

ChangeLog
ext/ogg/gstoggmux.c

index f6b7b2254735003ef07435f353df55aaffde0813..fb52b26d3905f0a60b1653b2738dfccd2dc89357 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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):
index 0a492dae24f5046ab88f23aaacb50bb72d31d63d..451c867e130e65e80250c50cc320cf1fa4937c6a 100644 (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));