diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2012-09-02 01:42:30 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2012-09-02 01:48:12 +0100 |
commit | a79edf27d0891bbbc6a5c5d80a87b96b51267d6d (patch) | |
tree | 39380df9a2a7e9d94d82abfd1e3963d8bbb9375b | |
parent | a303375a3f5c12e97ca8bf50b5a93ce8652faf23 (diff) |
gst_message_new_duration -> gst_message_new_duration_changed
-rw-r--r-- | ext/resindvd/resindvdsrc.c | 3 | ||||
-rw-r--r-- | ext/soundtouch/gstpitch.cc | 2 | ||||
-rw-r--r-- | gst/hls/gsthlsdemux.c | 3 |
3 files changed, 3 insertions, 5 deletions
diff --git a/ext/resindvd/resindvdsrc.c b/ext/resindvd/resindvdsrc.c index 779db9ca0..58d3c6fa4 100644 --- a/ext/resindvd/resindvdsrc.c +++ b/ext/resindvd/resindvdsrc.c @@ -1048,8 +1048,7 @@ rsn_dvdsrc_step (resinDvdSrc * src, gboolean have_dvd_lock) GST_TIME_FORMAT, GST_TIME_ARGS (src->pgc_duration), GST_TIME_ARGS (src->cur_position)); - message = gst_message_new_duration (GST_OBJECT (src), GST_FORMAT_TIME, - src->pgc_duration); + message = gst_message_new_duration_changed (GST_OBJECT (src)); gst_element_post_message (GST_ELEMENT (src), message); rsn_dvdsrc_prepare_streamsinfo_event (src); diff --git a/ext/soundtouch/gstpitch.cc b/ext/soundtouch/gstpitch.cc index e073d4efc..ed76cd27a 100644 --- a/ext/soundtouch/gstpitch.cc +++ b/ext/soundtouch/gstpitch.cc @@ -211,7 +211,7 @@ gst_pitch_update_duration (GstPitch * pitch) { GstMessage *m; - m = gst_message_new_duration (GST_OBJECT (pitch), GST_FORMAT_TIME, -1); + m = gst_message_new_duration_changed (GST_OBJECT (pitch)); gst_element_post_message (GST_ELEMENT (pitch), m); } diff --git a/gst/hls/gsthlsdemux.c b/gst/hls/gsthlsdemux.c index ba9c4d9da..51d4d68af 100644 --- a/gst/hls/gsthlsdemux.c +++ b/gst/hls/gsthlsdemux.c @@ -902,8 +902,7 @@ gst_hls_demux_cache_fragments (GstHLSDemux * demux) GST_TIME_ARGS (duration)); if (duration != GST_CLOCK_TIME_NONE) gst_element_post_message (GST_ELEMENT (demux), - gst_message_new_duration (GST_OBJECT (demux), - GST_FORMAT_TIME, duration)); + gst_message_new_duration_changed (GST_OBJECT (demux))); } /* Cache the first fragments */ |