diff options
Diffstat (limited to 'gst')
-rw-r--r-- | gst/qtdemux/qtdemux.c | 2 | ||||
-rw-r--r-- | gst/speed/gstspeed.c | 4 | ||||
-rw-r--r-- | gst/tta/gstttaparse.c | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c index 8d0d5c3e..1350e9c6 100644 --- a/gst/qtdemux/qtdemux.c +++ b/gst/qtdemux/qtdemux.c @@ -643,7 +643,7 @@ gst_qtdemux_loop_header (GstPad * pad) stream->samples[stream->sample_index].duration; } if (qtdemux->need_discont) { - GstEvent *event = gst_event_new_newsegment (FALSE, 1.0, + GstEvent *event = gst_event_new_new_segment (FALSE, 1.0, GST_FORMAT_TIME, GST_BUFFER_TIMESTAMP (buf), GST_CLOCK_TIME_NONE, 0); gint n; diff --git a/gst/speed/gstspeed.c b/gst/speed/gstspeed.c index 850ebc81..fb04f35e 100644 --- a/gst/speed/gstspeed.c +++ b/gst/speed/gstspeed.c @@ -589,7 +589,7 @@ speed_sink_event (GstPad * pad, GstEvent * event) GstFormat format, conv_format; gint64 start_value, stop_value, base; - gst_event_parse_newsegment (event, &update, &rate, &format, &start_value, + gst_event_parse_new_segment (event, &update, &rate, &format, &start_value, &stop_value, &base); g_assert (filter->speed > 0); @@ -631,7 +631,7 @@ speed_sink_event (GstPad * pad, GstEvent * event) gst_event_unref (event); event = - gst_event_new_newsegment (update, rate, format, start_value, + gst_event_new_new_segment (update, rate, format, start_value, stop_value, base); 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); |