Commit 6e9e48c0 authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

flvdemux: Clear adapter on discontinuities

parent b2ff8042
......@@ -1621,6 +1621,11 @@ gst_flv_demux_chain (GstPad * pad, GstBuffer * buffer)
demux->offset = GST_BUFFER_OFFSET (buffer);
GST_DEBUG_OBJECT (demux, "Discontinuity");
gst_adapter_clear (demux->adapter);
gst_adapter_push (demux->adapter, buffer);
if (demux->seeking) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment