summaryrefslogtreecommitdiff
path: root/gst/tta
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2005-10-11 16:34:36 +0000
committerWim Taymans <wim.taymans@gmail.com>2005-10-11 16:34:36 +0000
commitc6b126037e8fdfd5e4b38472cbd8a045c8306d63 (patch)
treedd447e7d8e7c5031e8593cbf2e1057457c0a1d3a /gst/tta
parentcda0cf8733857c8745888abf70560cf24d69700b (diff)
downloadgstreamer-plugins-bad-c6b126037e8fdfd5e4b38472cbd8a045c8306d63.tar.gz
gst/: newsegment API update.
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.
Diffstat (limited to 'gst/tta')
-rw-r--r--gst/tta/gstttaparse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/tta/gstttaparse.c b/gst/tta/gstttaparse.c
index f45f4c18d..f6845a681 100644
--- a/gst/tta/gstttaparse.c
+++ b/gst/tta/gstttaparse.c
@@ -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);