From 42cc21cd97016d4aa8ecc6d8c80b0dbd8780f975 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 28 Dec 2001 20:24:41 +0000 Subject: Fixed some plugins Original commit message from CVS: Fixed some plugins --- gst/mpeg1videoparse/gstmp1videoparse.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'gst/mpeg1videoparse/gstmp1videoparse.c') diff --git a/gst/mpeg1videoparse/gstmp1videoparse.c b/gst/mpeg1videoparse/gstmp1videoparse.c index 74d910e4..39fdfa29 100644 --- a/gst/mpeg1videoparse/gstmp1videoparse.c +++ b/gst/mpeg1videoparse/gstmp1videoparse.c @@ -252,10 +252,11 @@ gst_mp1videoparse_real_chain (Mp1VideoParse *mp1videoparse, GstBuffer *buf, GstP time_stamp = GST_BUFFER_TIMESTAMP(buf); - - if (GST_BUFFER_FLAG_IS_SET(buf, GST_BUFFER_FLUSH)) { + /* FIXME, handle events here */ + /* gst_mp1videoparse_flush(mp1videoparse); - } + */ + if (mp1videoparse->partialbuf) { offset = GST_BUFFER_SIZE(mp1videoparse->partialbuf); @@ -349,7 +350,7 @@ gst_mp1videoparse_real_chain (Mp1VideoParse *mp1videoparse, GstBuffer *buf, GstP GST_BUFFER_TIMESTAMP(outbuf) = mp1videoparse->last_pts; if (mp1videoparse->in_flush) { - GST_BUFFER_FLAG_SET(outbuf, GST_BUFFER_FLUSH); + /* FIXME, send a flush event here */ mp1videoparse->in_flush = FALSE; } -- cgit v1.2.1