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 6358c4b commit aa4c960Copy full SHA for aa4c960
test/test_samplers.py
@@ -706,7 +706,7 @@ def test_floating_point_precision_in_clips_at_regular_timestamps(policy):
706
# Using 1/3 would cause arange to include sampling_range_end, which gets filtered out
707
# in _build_all_clips_timestamps, leaving clips with no frames.
708
# The fix rounds seconds_between_clip_starts to prevent this.
709
- seconds_between_clip_starts = 1 / 3
+ seconds_between_clip_starts = 1 / 3 - 1e-9
710
711
decoder = VideoDecoder(H265_10BITS.path) # Video is 1 second long
712
# Set sampling range so that last clip will have frame timestamp ≈ end_stream_seconds
0 commit comments