From 1175d0698c005b7f15aae9cde915eda18bbefb0e Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 19 Jan 2010 18:35:49 +0100 Subject: [PATCH] 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. --- gst/avi/gstavidemux.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c index b0f115b94c..9758861030 100644 --- a/gst/avi/gstavidemux.c +++ b/gst/avi/gstavidemux.c @@ -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);