mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
hlsdemux: oups, we need to empty the queue after freeing its content
This commit is contained in:
parent
59c61209cf
commit
4a6d888961
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue