all repos — mgba @ b83fba5b3da66767dedb28120f319f0178ebd7cb

mGBA Game Boy Advance Emulator

Test: Move much of the logging to stdout
Vicki Pfau vi@endrift.com
Sat, 11 Jul 2020 22:04:47 -0700
commit

b83fba5b3da66767dedb28120f319f0178ebd7cb

parent

481f0f0b0ea2fc0e27c2aa97e148d3cad10bd59e

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/platform/test/cinema-main.csrc/platform/test/cinema-main.c

@@ -460,7 +460,7 @@

static void _cinemaDimensionsChanged(struct mAVStream* stream, unsigned width, unsigned height) { struct CInemaStream* cistream = (struct CInemaStream*) stream; if (height != cistream->image->height || width != cistream->image->width) { - CIerr(1, "Size mismatch for video, expected %ux%u, got %ux%u\n", width, height, cistream->image->width, cistream->image->height); + CIlog(1, "Size mismatch for video, expected %ux%u, got %ux%u\n", width, height, cistream->image->width, cistream->image->height); if (*cistream->status == CI_PASS) { *cistream->status = CI_FAIL; }

@@ -681,7 +681,7 @@ if (!rebaseline && FFmpegDecoderIsOpen(&decoder)) {

stream.image = &expected; while (!expected.data) { if (!FFmpegDecoderRead(&decoder)) { - CIerr(1, "Failed to read more frames. EOF?\n"); + CIlog(1, "Failed to read more frames. EOF?\n"); test->status = CI_FAIL; break; }