mirror of https://github.com/mpv-player/mpv
Add fflush to prevent stdout & stderr from being mixed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27515 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
bae94777d7
commit
de4a1aae91
|
@ -139,6 +139,7 @@ static int doTest(uint8_t *ref[3], int refStride[3], int w, int h, int srcFormat
|
||||||
sws_format_name(dstFormat), dstW, dstH,
|
sws_format_name(dstFormat), dstW, dstH,
|
||||||
flags,
|
flags,
|
||||||
ssdY, ssdU, ssdV);
|
ssdY, ssdU, ssdV);
|
||||||
|
fflush(stdout);
|
||||||
}
|
}
|
||||||
|
|
||||||
end:
|
end:
|
||||||
|
@ -170,6 +171,7 @@ static void selfTest(uint8_t *src[3], int stride[3], int w, int h){
|
||||||
printf("%s -> %s\n",
|
printf("%s -> %s\n",
|
||||||
sws_format_name(srcFormat),
|
sws_format_name(srcFormat),
|
||||||
sws_format_name(dstFormat));
|
sws_format_name(dstFormat));
|
||||||
|
fflush(stdout);
|
||||||
|
|
||||||
srcW= w;
|
srcW= w;
|
||||||
srcH= h;
|
srcH= h;
|
||||||
|
|
Loading…
Reference in New Issue