summaryrefslogtreecommitdiffstats
path: root/test/scale_test.c
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2024-04-12 10:09:27 -0500
committerDudemanguy <random342@airmail.cc>2024-04-12 17:39:34 +0000
commita5269d7a737a9a523f8fa05818dc52c5bcd3ec97 (patch)
tree2c10adc4b814f9c83864f159ae51396877d49347 /test/scale_test.c
parent05607fed19e8f121ca9b863617e02a0b15bf38d7 (diff)
downloadmpv-a5269d7a737a9a523f8fa05818dc52c5bcd3ec97.tar.bz2
mpv-a5269d7a737a9a523f8fa05818dc52c5bcd3ec97.tar.xz
test: support format refs for multiple ffmpeg versions
With some small tweaks to the test, we can support multiple ffmpeg versions. This adds back ffmpeg 6 support that was removed in the previous commit.
Diffstat (limited to 'test/scale_test.c')
-rw-r--r--test/scale_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/scale_test.c b/test/scale_test.c
index 8d8f63f0ee..6e012712da 100644
--- a/test/scale_test.c
+++ b/test/scale_test.c
@@ -101,7 +101,7 @@ static void assert_imgs_equal(struct scale_test *stest, FILE *f,
void repack_test_run(struct scale_test *stest)
{
- char *logname = mp_tprintf(80, "%s.log", stest->test_name);
+ char *logname = mp_tprintf(80, "../%s.log", stest->test_name);
FILE *f = test_open_out(stest->outdir, logname);
if (!stest->sws) {