summaryrefslogtreecommitdiff
path: root/ext/soundtouch/gstpitch.cc
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/soundtouch/gstpitch.cc
parenta303375a3f5c12e97ca8bf50b5a93ce8652faf23 (diff)
downloadgstreamer-plugins-bad-a79edf27d0891bbbc6a5c5d80a87b96b51267d6d.tar.gz
gst_message_new_duration -> gst_message_new_duration_changed
Diffstat (limited to 'ext/soundtouch/gstpitch.cc')
-rw-r--r--ext/soundtouch/gstpitch.cc2
1 files changed, 1 insertions, 1 deletions
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);
}