mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
gst_message_new_duration -> gst_message_new_duration_changed
This commit is contained in:
parent
a303375a3f
commit
a79edf27d0
3 changed files with 3 additions and 5 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue