Commit 398cdcc6 authored by Thibault Saunier's avatar Thibault Saunier 🌵 Committed by Seungha Yang
Browse files

validate: Fix inferring ref frames dir

parent 37cae144
Pipeline #119961 passed with stages
in 22 minutes and 26 seconds
......@@ -73,8 +73,11 @@ def add_accurate_seek_tests(test_manager, media_dir, extra_data):
f = os.path.join(media_dir, "defaults", f)
accurate_seeks_media_infos.append((f, re.sub(r"\.media_info.*", "_reference_frames", f).replace('.', '_')))
dirname = os.path.join(media_dir, "defaults", os.path.dirname(f))
filename = os.path.basename(f)
media_info = os.path.join(dirname, filename)
reference_frames_dir = os.path.join(dirname, re.sub(r"\.media_info.*", "_reference_frames", filename).replace('.', '_'))
accurate_seeks_media_infos.append((media_info, reference_frames_dir))
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