Skip to content

Commit dafb927

Browse files
committed
Add comment
1 parent c453a3c commit dafb927

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/decoders/test_ops.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,12 @@ def test_multiple_calls(self, asset):
748748
# back to the beginning of the stream.
749749

750750
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)
751757
decoder = create_from_file(str(asset.path), seek_mode="approximate")
752758
add_audio_stream(decoder)
753759

0 commit comments

Comments
 (0)