Commit 9a08fa1e authored by michael's avatar michael

yvu9toyv12Wrapper is not bitexact so disable it when the user wants

bitexactness to C.


git-svn-id: file:///var/local/repositories/mplayer/trunk/libswscale@27594 b3059339-0415-0410-9bf9-f77b7e298cf2
parent 25706bbf
...@@ -2172,7 +2172,7 @@ SwsContext *sws_getContext(int srcW, int srcH, int srcFormat, int dstW, int dstH ...@@ -2172,7 +2172,7 @@ SwsContext *sws_getContext(int srcW, int srcH, int srcFormat, int dstW, int dstH
} }
#endif #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; c->swScale= yvu9toyv12Wrapper;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment