diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-03-20 14:56:26 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-03-20 14:56:26 +0000 |
commit | 4e0092801c98033c0e89b4baae63db3012a6c7fb (patch) | |
tree | a0dabb2eed4fd90f97900992be883a319c0d0080 | |
parent | aa655ff79720fdb56693478fff585c891a64cff0 (diff) | |
download | mpv-4e0092801c98033c0e89b4baae63db3012a6c7fb.tar.bz2 mpv-4e0092801c98033c0e89b4baae63db3012a6c7fb.tar.xz |
10l ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5220 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpcodecs/vd_ffmpeg.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |