From b827c9b345b23ad631cfd537182dd0fae9c6b3f3 Mon Sep 17 00:00:00 2001 From: Ewald Snel Date: Wed, 18 Dec 2002 21:35:41 +0000 Subject: Don't append 'BUF_FLAG_SPECIAL' packets to frame data CVS patchset: 3586 CVS date: 2002/12/18 21:35:41 --- src/libxinevdec/cyuv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libxinevdec/cyuv.c') diff --git a/src/libxinevdec/cyuv.c b/src/libxinevdec/cyuv.c index a95679877..6e3bb57c4 100644 --- a/src/libxinevdec/cyuv.c +++ b/src/libxinevdec/cyuv.c @@ -18,7 +18,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: cyuv.c,v 1.13 2002/12/06 01:44:06 miguelfreitas Exp $ + * $Id: cyuv.c,v 1.14 2002/12/18 21:35:41 esnel Exp $ */ /* And this is the header that came with the CYUV decoder: */ @@ -145,7 +145,7 @@ static void cyuv_decode_data (video_decoder_t *this_gen, cyuv_decoder_t *this = (cyuv_decoder_t *) this_gen; vo_frame_t *img; /* video out frame */ - if (buf->decoder_flags & BUF_FLAG_PREVIEW) + if (buf->decoder_flags & (BUF_FLAG_PREVIEW | BUF_FLAG_SPECIAL)) return; if (buf->decoder_flags & BUF_FLAG_HEADER) { /* need to initialize */ -- cgit v1.2.3