diff options
Diffstat (limited to 'gst/mpegtsdemux/tsdemux.c')
-rw-r--r-- | gst/mpegtsdemux/tsdemux.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/mpegtsdemux/tsdemux.c b/gst/mpegtsdemux/tsdemux.c index d61742913..f66cd7b83 100644 --- a/gst/mpegtsdemux/tsdemux.c +++ b/gst/mpegtsdemux/tsdemux.c @@ -800,7 +800,7 @@ gst_ts_demux_do_seek (MpegTSBase * base, GstEvent * event, guint16 pid) GstSegment seeksegment; gboolean update; - gst_event_parse_seek (event, &rate, &format, &flags, &start_type, &start, + gst_event_seek_parse (event, &rate, &format, &flags, &start_type, &start, &stop_type, &stop); if (format != GST_FORMAT_TIME) { @@ -1235,7 +1235,7 @@ gst_ts_demux_stream_removed (MpegTSBase * base, MpegTSBaseStream * bstream) demux->need_newsegment = need_newsegment; GST_DEBUG_OBJECT (stream->pad, "Pushing out EOS"); - gst_pad_push_event (stream->pad, gst_event_new_eos ()); + gst_pad_push_event (stream->pad, gst_event_eos_new ()); GST_DEBUG_OBJECT (stream->pad, "Deactivating and removing pad"); gst_pad_set_active (stream->pad, FALSE); gst_element_remove_pad (GST_ELEMENT_CAST (base), stream->pad); @@ -2156,7 +2156,7 @@ calculate_and_push_newsegment (GstTSDemux * demux, TSDemuxStream * stream) GST_TIME_FORMAT " time: %" GST_TIME_FORMAT, GST_TIME_ARGS (start), GST_TIME_ARGS (stop), GST_TIME_ARGS (position)); - newsegmentevent = gst_event_new_segment (&demux->segment); + newsegmentevent = gst_event_segment_new (&demux->segment); push_event ((MpegTSBase *) demux, newsegmentevent); |