Mercurial > mplayer.hg
diff mencoder.c @ 4639:f1465a04a3ce
support swscaler for i420
author | alex |
---|---|
date | Sun, 10 Feb 2002 13:11:11 +0000 |
parents | a4e774e16b22 |
children | f5af54e6c393 |
line wrap: on
line diff
--- a/mencoder.c Sun Feb 10 12:20:50 2002 +0000 +++ b/mencoder.c Sun Feb 10 13:11:11 2002 +0000 @@ -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;