[Mplayer-cvslog] CVS: main/libmpcodecs vd_ffmpeg.c,1.4,1.5
Alex Beregszaszi
alex at mplayer.dev.hu
Wed Mar 20 15:56:29 CET 2002
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mplayer:/var/tmp.root/cvs-serv4899
Modified Files:
vd_ffmpeg.c
Log Message:
10l ;)
Index: vd_ffmpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_ffmpeg.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- vd_ffmpeg.c 19 Mar 2002 22:12:18 -0000 1.4
+++ vd_ffmpeg.c 20 Mar 2002 14:56:26 -0000 1.5
@@ -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;
}
More information about the MPlayer-cvslog
mailing list