[vlc-devel] commit: Fixed VA description in avcodec. (Laurent Aimar )
git version control
git at videolan.org
Wed Jan 20 01:21:20 CET 2010
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue Jan 19 22:30:05 2010 +0100| [2f184dd51728c0d3c883eaaf526505ffd66ddb38] | committer: Laurent Aimar
Fixed VA description in avcodec.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2f184dd51728c0d3c883eaaf526505ffd66ddb38
---
modules/codec/avcodec/video.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
index 5788436..da15db8 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -825,9 +825,6 @@ static int ffmpeg_OpenCodec( decoder_t *p_dec )
p_sys->b_delayed_open = false;
- if( p_sys->p_va && p_sys->p_va->description )
- msg_Info( p_dec, "Using %s for hardware decoding.", p_sys->p_va->description );
-
return VLC_SUCCESS;
}
/*****************************************************************************
@@ -1155,6 +1152,9 @@ static enum PixelFormat ffmpeg_GetFormat( AVCodecContext *p_codec,
if( p_sys->p_va )
{
+ if( p_sys->p_va->description )
+ msg_Info( p_dec, "Using %s for hardware decoding.", p_sys->p_va->description );
+
/* FIXME this will disabled direct rendering
* even if a new pixel format is renegociated
*/
More information about the vlc-devel
mailing list