mirror of https://github.com/mpv-player/mpv
yvu9toyv12Wrapper is not bitexact so disable it when the user wants
bitexactness to C. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27594 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
68de5a33c9
commit
57db6892cf
|
@ -2172,7 +2172,7 @@ SwsContext *sws_getContext(int srcW, int srcH, int srcFormat, int dstW, int dstH
|
|||
}
|
||||
#endif
|
||||
|
||||
if (srcFormat==PIX_FMT_YUV410P && dstFormat==PIX_FMT_YUV420P)
|
||||
if (srcFormat==PIX_FMT_YUV410P && dstFormat==PIX_FMT_YUV420P && !(flags & SWS_BITEXACT))
|
||||
{
|
||||
c->swScale= yvu9toyv12Wrapper;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue