mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 12:02:23 +02:00
support swscaler for i420
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4640 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
c7fb41804c
commit
1c8c89ddae
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user