hlsdemux: oups, we need to empty the queue after freeing its content

This commit is contained in:
Youness Alaoui 2011-08-26 22:47:35 +00:00 committed by Sebastian Dröge
parent 59c61209cf
commit 4a6d888961

View file

@ -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;