summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2012-09-02 01:42:30 +0100
committerTim-Philipp Müller <tim@centricular.net>2012-09-02 01:48:12 +0100
commita79edf27d0891bbbc6a5c5d80a87b96b51267d6d (patch)
tree39380df9a2a7e9d94d82abfd1e3963d8bbb9375b /ext
parenta303375a3f5c12e97ca8bf50b5a93ce8652faf23 (diff)
gst_message_new_duration -> gst_message_new_duration_changed
Diffstat (limited to 'ext')
-rw-r--r--ext/resindvd/resindvdsrc.c3
-rw-r--r--ext/soundtouch/gstpitch.cc2
2 files changed, 2 insertions, 3 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);
}