diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-10 13:11:11 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-10 13:11:11 +0000 |
commit | 1c8c89ddae78ec74a379ef3873f691bef2761fe4 (patch) | |
tree | fa667fbafa8f1f8b36590f39228c0edcbb6a745c | |
parent | c7fb41804cdb5b230577deb37d5998019adb4123 (diff) |
support swscaler for i420
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4640 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | mencoder.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |