|
46 | 46 | SINE_MONO_S32, |
47 | 47 | SINE_MONO_S32_44100, |
48 | 48 | SINE_MONO_S32_8000, |
49 | | - supports_approximate_mode, |
50 | 49 | TEST_SRC_2_720P, |
51 | 50 | TEST_SRC_2_720P_H265, |
52 | 51 | TEST_SRC_2_720P_MPEG4, |
@@ -1492,8 +1491,6 @@ def test_get_frames_at_tensor_indices(self): |
1492 | 1491 | def test_beta_cuda_interface_get_frame_at( |
1493 | 1492 | self, asset, contiguous_indices, seek_mode |
1494 | 1493 | ): |
1495 | | - if seek_mode == "approximate" and not supports_approximate_mode(asset): |
1496 | | - pytest.skip("asset doesn't work with approximate mode") |
1497 | 1494 |
|
1498 | 1495 | if in_fbcode() and asset is AV1_VIDEO: |
1499 | 1496 | pytest.skip("AV1 CUDA not supported internally") |
@@ -1540,8 +1537,6 @@ def test_beta_cuda_interface_get_frame_at( |
1540 | 1537 | def test_beta_cuda_interface_get_frames_at( |
1541 | 1538 | self, asset, contiguous_indices, seek_mode |
1542 | 1539 | ): |
1543 | | - if seek_mode == "approximate" and not supports_approximate_mode(asset): |
1544 | | - pytest.skip("asset doesn't work with approximate mode") |
1545 | 1540 | if in_fbcode() and asset is AV1_VIDEO: |
1546 | 1541 | pytest.skip("AV1 CUDA not supported internally") |
1547 | 1542 |
|
@@ -1585,8 +1580,6 @@ def test_beta_cuda_interface_get_frames_at( |
1585 | 1580 | ) |
1586 | 1581 | @pytest.mark.parametrize("seek_mode", ("exact", "approximate")) |
1587 | 1582 | def test_beta_cuda_interface_get_frame_played_at(self, asset, seek_mode): |
1588 | | - if seek_mode == "approximate" and not supports_approximate_mode(asset): |
1589 | | - pytest.skip("asset doesn't work with approximate mode") |
1590 | 1583 | if in_fbcode() and asset is AV1_VIDEO: |
1591 | 1584 | pytest.skip("AV1 CUDA not supported internally") |
1592 | 1585 |
|
@@ -1627,8 +1620,6 @@ def test_beta_cuda_interface_get_frame_played_at(self, asset, seek_mode): |
1627 | 1620 | ) |
1628 | 1621 | @pytest.mark.parametrize("seek_mode", ("exact", "approximate")) |
1629 | 1622 | def test_beta_cuda_interface_get_frames_played_at(self, asset, seek_mode): |
1630 | | - if seek_mode == "approximate" and not supports_approximate_mode(asset): |
1631 | | - pytest.skip("asset doesn't work with approximate mode") |
1632 | 1623 | if in_fbcode() and asset is AV1_VIDEO: |
1633 | 1624 | pytest.skip("AV1 CUDA not supported internally") |
1634 | 1625 |
|
@@ -1670,8 +1661,6 @@ def test_beta_cuda_interface_get_frames_played_at(self, asset, seek_mode): |
1670 | 1661 | ) |
1671 | 1662 | @pytest.mark.parametrize("seek_mode", ("exact", "approximate")) |
1672 | 1663 | def test_beta_cuda_interface_backwards(self, asset, seek_mode): |
1673 | | - if seek_mode == "approximate" and not supports_approximate_mode(asset): |
1674 | | - pytest.skip("asset doesn't work with approximate mode") |
1675 | 1664 | if in_fbcode() and asset is AV1_VIDEO: |
1676 | 1665 | pytest.skip("AV1 CUDA not supported internally") |
1677 | 1666 |
|
|
0 commit comments