From 4a6d888961fc38aa7b55d7adfb9458ad5ad5d87a Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Fri, 26 Aug 2011 22:47:35 +0000 Subject: hlsdemux: oups, we need to empty the queue after freeing its content --- gst/hls/gsthlsdemux.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/hls/gsthlsdemux.c b/gst/hls/gsthlsdemux.c index 9b6f99a61..adeb96533 100644 --- a/gst/hls/gsthlsdemux.c +++ b/gst/hls/gsthlsdemux.c @@ -392,6 +392,8 @@ gst_hls_demux_src_event (GstPad * pad, GstEvent * event) GstBuffer *buf = g_queue_pop_head (demux->queue); gst_buffer_unref (buf); } + g_queue_clear (demux->queue); + gst_adapter_clear (demux->download); GST_DEBUG_OBJECT (demux, "seeking to sequence %d", current_sequence); demux->client->sequence = current_sequence; -- cgit v1.2.3