avidemux: more DISCONT handling

Add some debug in the DISCONT handling code.
When we receive a DISCONT in push mode, mark all streams as DISCONT.
This commit is contained in:
Wim Taymans 2010-01-19 18:35:49 +01:00 committed by Robert Swain
parent 0011c9b0da
commit 1175d0698c

View file

@ -5082,9 +5082,6 @@ gst_avi_demux_chain (GstPad * pad, GstBuffer * buf)
avi->stream[i].discont = TRUE;
}
if (GST_BUFFER_IS_DISCONT (buf))
gst_adapter_clear (avi->adapter);
GST_DEBUG ("Store %d bytes in adapter", GST_BUFFER_SIZE (buf));
gst_adapter_push (avi->adapter, buf);