Skip to content

Commit a9f9a05

Browse files
authored
Skip tests that require ffmpeg built with libvpx support also on Win with ffmpeg 8
1 parent 169484d commit a9f9a05

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/test_ops.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1169,7 +1169,7 @@ def test_video_encoder_round_trip(self, tmp_path, format, method):
11691169
f"FFmpeg6 defaults to lossy encoding for {format}, skipping round-trip test."
11701170
)
11711171
if format == "webm" and (
1172-
ffmpeg_version == 4 or (IS_WINDOWS and ffmpeg_version in (6, 7))
1172+
ffmpeg_version == 4 or (IS_WINDOWS and ffmpeg_version in (6, 7, 8))
11731173
):
11741174
pytest.skip("Codec for webm is not available in this FFmpeg installation.")
11751175
source_frames = self.decode(TEST_SRC_2_720P.path).data
@@ -1234,7 +1234,7 @@ def test_against_to_file(self, tmp_path, format, method):
12341234
# Test that to_file, to_tensor, and to_file_like produce the same results
12351235
ffmpeg_version = get_ffmpeg_major_version()
12361236
if format == "webm" and (
1237-
ffmpeg_version == 4 or (IS_WINDOWS and ffmpeg_version in (6, 7))
1237+
ffmpeg_version == 4 or (IS_WINDOWS and ffmpeg_version in (6, 7, 8))
12381238
):
12391239
pytest.skip("Codec for webm is not available in this FFmpeg installation.")
12401240

@@ -1281,7 +1281,7 @@ def test_against_to_file(self, tmp_path, format, method):
12811281
def test_video_encoder_against_ffmpeg_cli(self, tmp_path, format):
12821282
ffmpeg_version = get_ffmpeg_major_version()
12831283
if format == "webm" and (
1284-
ffmpeg_version == 4 or (IS_WINDOWS and ffmpeg_version in (6, 7))
1284+
ffmpeg_version == 4 or (IS_WINDOWS and ffmpeg_version in (6, 7, 8))
12851285
):
12861286
pytest.skip("Codec for webm is not available in this FFmpeg installation.")
12871287

0 commit comments

Comments
 (0)