diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/resindvd/resindvdsrc.c | 3 | ||||
-rw-r--r-- | ext/soundtouch/gstpitch.cc | 2 |
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); } |