Test: Fix replaying baseline for non-GBA

This commit is contained in:
Vicki Pfau 2020-08-05 21:56:56 -07:00
parent 641154b810
commit ecf4106ea2
1 changed files with 2 additions and 2 deletions

View File

@ -883,10 +883,10 @@ static void _replayBaseline(struct CInemaTest* test, struct FFmpegEncoder* encod
test->status = CI_ERROR;
return;
}
encoder->d.videoDimensionsChanged(&encoder->d, image->width, image->height);
snprintf(baselineName, sizeof(baselineName), "%s" PATH_SEP "baseline.avi", test->directory);
struct CInemaImage buffer = {
.data = NULL,
.width = image->width,
@ -1422,4 +1422,4 @@ int main(int argc, char** argv) {
cleanup:
return status;
}
}