aboutsummaryrefslogtreecommitdiff
path: root/gst/hls/gsthlsdemux.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/hls/gsthlsdemux.c')
-rw-r--r--gst/hls/gsthlsdemux.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gst/hls/gsthlsdemux.c b/gst/hls/gsthlsdemux.c
index ba9c4d9d..51d4d68a 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 */