Commit 8822d581 authored by Gildas Bazin's avatar Gildas Bazin

* modules/codec/ffmpeg/video.c: another fix for post-processing.
parent d5c32a93
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* video.c: video decoder using the ffmpeg library * video.c: video decoder using the ffmpeg library
***************************************************************************** *****************************************************************************
* Copyright (C) 1999-2001 VideoLAN * Copyright (C) 1999-2001 VideoLAN
* $Id: video.c,v 1.64 2004/02/08 18:30:30 sigmunau Exp $ * $Id: video.c,v 1.65 2004/02/08 18:49:53 gbazin Exp $
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Gildas Bazin <gbazin@netcourrier.com> * Gildas Bazin <gbazin@netcourrier.com>
...@@ -519,8 +519,7 @@ picture_t *E_(DecodeVideo)( decoder_t *p_dec, block_t **pp_block ) ...@@ -519,8 +519,7 @@ picture_t *E_(DecodeVideo)( decoder_t *p_dec, block_t **pp_block )
continue; continue;
} }
if( !p_sys->b_direct_rendering || if( !p_sys->p_ff_pic->opaque )
p_sys->b_pp || !p_sys->p_ff_pic->opaque )
{ {
/* Get a new picture */ /* Get a new picture */
p_pic = ffmpeg_NewPictBuf( p_dec, p_sys->p_context ); p_pic = ffmpeg_NewPictBuf( p_dec, p_sys->p_context );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment