We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c453a3c commit dafb927Copy full SHA for dafb927
test/decoders/test_ops.py
@@ -748,6 +748,12 @@ def test_multiple_calls(self, asset):
748
# back to the beginning of the stream.
749
750
def get_reference_frames(start_seconds, stop_seconds):
751
+ # This stateless helper exists for convenience, to avoid
752
+ # complicating this test with pts-to-index conversions. Eventually
753
+ # we should remove it and just rely on the asset's methods.
754
+ # Using this helper is OK for now: we're comparing a decoder which
755
+ # seeks multiple times with a decoder which seeks only once (the one
756
+ # here, treated as the reference)
757
decoder = create_from_file(str(asset.path), seek_mode="approximate")
758
add_audio_stream(decoder)
759
0 commit comments