diff options
Diffstat (limited to 'gst/tta')
-rw-r--r-- | gst/tta/gstttaparse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/tta/gstttaparse.c b/gst/tta/gstttaparse.c index e7d65164..03fa25a2 100644 --- a/gst/tta/gstttaparse.c +++ b/gst/tta/gstttaparse.c @@ -209,7 +209,7 @@ 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 (FALSE, + gst_pad_push_event (ttaparse->srcpad, gst_event_new_new_segment (FALSE, 1.0, GST_FORMAT_TIME, 0, ttaparse->num_frames * FRAME_TIME * GST_SECOND, 0)); @@ -382,7 +382,7 @@ gst_tta_parse_parse_header (GstTtaParse * ttaparse) gst_pad_set_caps (ttaparse->srcpad, caps); discont = - gst_event_new_newsegment (FALSE, 1.0, GST_FORMAT_TIME, 0, + gst_event_new_new_segment (FALSE, 1.0, GST_FORMAT_TIME, 0, num_frames * FRAME_TIME * GST_SECOND, 0); gst_pad_push_event (ttaparse->srcpad, discont); |