[Mplayer-cvslog] CVS: main mencoder.c,1.86,1.87
Alex Beregszaszi
alex at mplayer.dev.hu
Sun Feb 10 14:11:14 CET 2002
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv21028
Modified Files:
mencoder.c
Log Message:
support swscaler for i420
Index: mencoder.c
===================================================================
RCS file: /cvsroot/mplayer/main/mencoder.c,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -r1.86 -r1.87
--- mencoder.c 10 Feb 2002 12:20:50 -0000 1.86
+++ mencoder.c 10 Feb 2002 13:11:11 -0000 1.87
@@ -579,7 +579,8 @@
}
sh_video->outfmtidx=i;
-if(out_fmt==IMGFMT_YV12 && (vo_w!=0 || vo_h!=0))
+if((out_fmt==IMGFMT_YV12 || out_fmt==IMGFMT_IYUV || out_fmt==IMGFMT_I420) &&
+ (vo_w!=0 || vo_h!=0))
{
scale_srcW= sh_video->disp_w;
scale_srcH= sh_video->disp_h;
More information about the MPlayer-cvslog
mailing list