# HG changeset patch # User alex # Date 1016636186 0 # Node ID 9a2e8b32db2a1178c8621961177de9bf8eb5e11e # Parent 11c7ccce8ae38a695ff38618a20280bf6b141a12 10l ;) diff -r 11c7ccce8ae3 -r 9a2e8b32db2a libmpcodecs/vd_ffmpeg.c --- a/libmpcodecs/vd_ffmpeg.c Wed Mar 20 13:30:57 2002 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Wed Mar 20 14:56:26 2002 +0000 @@ -101,6 +101,9 @@ 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; }