From 1c8c89ddae78ec74a379ef3873f691bef2761fe4 Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 10 Feb 2002 13:11:11 +0000 Subject: support swscaler for i420 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4640 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mencoder.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mencoder.c') diff --git a/mencoder.c b/mencoder.c index a46caa274b..f8973d06ce 100644 --- a/mencoder.c +++ b/mencoder.c @@ -579,7 +579,8 @@ if(i>=CODECS_MAX_OUTFMT){ } 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; -- cgit v1.2.3