diff options
Diffstat (limited to 'gst/hls/gsthlsdemux.c')
-rw-r--r-- | gst/hls/gsthlsdemux.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |