Mercurial > mplayer.hg
changeset 4639:f1465a04a3ce
support swscaler for i420
author | alex |
---|---|
date | Sun, 10 Feb 2002 13:11:11 +0000 |
parents | a4e774e16b22 |
children | ea3bd3328fc6 |
files | mencoder.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
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;