gst/: newsegment API update.
authorWim Taymans <wim.taymans@gmail.com>
Tue, 11 Oct 2005 16:34:36 +0000 (16:34 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Tue, 11 Oct 2005 16:34:36 +0000 (16:34 +0000)
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header):
* gst/tta/gstttaparse.c: (gst_tta_parse_src_event),
(gst_tta_parse_parse_header):
newsegment API update.

ChangeLog
common
gst/qtdemux/qtdemux.c
gst/tta/gstttaparse.c

index 83719e1..af73b7a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-10-11  Wim Taymans  <wim@fluendo.com>
+
+       * gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header):
+       * gst/tta/gstttaparse.c: (gst_tta_parse_src_event),
+       (gst_tta_parse_parse_header):
+       newsegment API update.
+
 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
 
        * configure.ac:
diff --git a/common b/common
index eb0dd11..615cf4d 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit eb0dd118a086dd4aa405d3871131839d81306245
+Subproject commit 615cf4d4506ef1ffb1f600c434fced1fa26b0f44
index 529c828..fe29ba5 100644 (file)
@@ -655,7 +655,7 @@ gst_qtdemux_loop_header (GstPad * pad)
               stream->samples[stream->sample_index].duration;
         }
         if (qtdemux->need_discont) {
-          GstEvent *event = gst_event_new_newsegment (1.0,
+          GstEvent *event = gst_event_new_newsegment (FALSE, 1.0,
               GST_FORMAT_TIME, GST_BUFFER_TIMESTAMP (buf),
               GST_CLOCK_TIME_NONE, 0);
           gint n;
index f45f4c1..f6845a6 100644 (file)
@@ -209,8 +209,8 @@ gst_tta_parse_src_event (GstPad * pad, GstEvent * event)
           gst_pad_push_event (ttaparse->sinkpad, gst_event_new_flush_stop ());
         }
 
-        gst_pad_push_event (ttaparse->srcpad, gst_event_new_newsegment (1.0,
-                GST_FORMAT_TIME, 0,
+        gst_pad_push_event (ttaparse->srcpad, gst_event_new_newsegment (FALSE,
+                1.0, GST_FORMAT_TIME, 0,
                 ttaparse->num_frames * FRAME_TIME * GST_SECOND, 0));
 
         gst_pad_start_task (ttaparse->sinkpad,
@@ -365,7 +365,7 @@ gst_tta_parse_parse_header (GstTtaParse * ttaparse)
   gst_pad_set_caps (ttaparse->srcpad, caps);
 
   discont =
-      gst_event_new_newsegment (1.0, GST_FORMAT_TIME, 0,
+      gst_event_new_newsegment (FALSE, 1.0, GST_FORMAT_TIME, 0,
       num_frames * FRAME_TIME * GST_SECOND, 0);
 
   gst_pad_push_event (ttaparse->srcpad, discont);