mirror of https://github.com/mpv-player/mpv
workaround yv12 vs. i420 'bug' of swscale
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5710 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d6b00e3871
commit
f296ab2de3
|
@ -250,6 +250,7 @@ static uint32_t config( uint32_t width,uint32_t height,uint32_t d_width,uint32_t
|
|||
title = strdup("MPlayer X11 (XImage/Shm) render");
|
||||
|
||||
in_format=format;
|
||||
if(in_format==IMGFMT_I420 || in_format==IMGFMT_IYUV) in_format=IMGFMT_YV12;
|
||||
srcW= width;
|
||||
srcH= height;
|
||||
|
||||
|
|
Loading…
Reference in New Issue