diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c index b843e39872..4b4c9ccecb 100644 --- a/gst/avi/gstavidemux.c +++ b/gst/avi/gstavidemux.c @@ -4858,6 +4858,8 @@ gst_avi_demux_loop_data (GstAviDemux * avi) GST_DEBUG_OBJECT (avi, "setting DISCONT flag"); GST_BUFFER_FLAG_SET (buf, GST_BUFFER_FLAG_DISCONT); stream->discont = FALSE; + } else { + GST_BUFFER_FLAG_UNSET (buf, GST_BUFFER_FLAG_DISCONT); } #if 0 gst_avi_demux_add_assoc (avi, stream, timestamp, offset, keyframe); @@ -5158,6 +5160,8 @@ gst_avi_demux_stream_data (GstAviDemux * avi) GST_DEBUG_OBJECT (avi, "Setting DISCONT"); GST_BUFFER_FLAG_SET (buf, GST_BUFFER_FLAG_DISCONT); stream->discont = FALSE; + } else { + GST_BUFFER_FLAG_UNSET (buf, GST_BUFFER_FLAG_DISCONT); } res = gst_pad_push (stream->pad, buf); buf = NULL;