From 4e0092801c98033c0e89b4baae63db3012a6c7fb Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 20 Mar 2002 14:56:26 +0000 Subject: 10l ;) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5220 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vd_ffmpeg.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libmpcodecs/vd_ffmpeg.c b/libmpcodecs/vd_ffmpeg.c index e0d8ae7572..ea5247bd6b 100644 --- a/libmpcodecs/vd_ffmpeg.c +++ b/libmpcodecs/vd_ffmpeg.c @@ -101,6 +101,9 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){ if ((ctx->width != sh->disp_w) || (ctx->height != sh->disp_h)) { + /* and what about the sh->bih (BitmapInfoHeader) width/height values? */ + sh->disp_w = ctx->width; + sh->disp_h = ctx->height; if (mpcodecs_config_vo(sh,sh->disp_w,sh->disp_h,IMGFMT_YV12)) return NULL; } -- cgit v1.2.3