[vlc-commits] avcodec: pass coded dimensions to hardware decoder
Rémi Denis-Courmont
git at videolan.org
Thu Jul 18 18:35:46 CEST 2013
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jul 18 19:04:13 2013 +0300| [01c4f44e88bfbb8ecf108c0fe40f3797bddac686] | committer: Rémi Denis-Courmont
avcodec: pass coded dimensions to hardware decoder
Regression from b71c85b3d88b8d0ad2d4a63bf58ebcd2ad771cbf.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=01c4f44e88bfbb8ecf108c0fe40f3797bddac686
---
modules/codec/avcodec/video.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
index 50d0a82..edba52e 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -907,7 +907,7 @@ static int ffmpeg_va_GetFrameBuf( struct AVCodecContext *p_context, AVFrame *p_f
/* hwaccel_context is not present in old ffmpeg version */
if( vlc_va_Setup( p_va,
&p_context->hwaccel_context, &p_dec->fmt_out.video.i_chroma,
- p_context->width, p_context->height ) )
+ p_context->coded_width, p_context->coded_height ) )
{
msg_Err( p_dec, "vlc_va_Setup failed" );
return -1;
More information about the vlc-commits
mailing list