Skip to content

Commit 3268606

Browse files
committed
fix
1 parent 046580b commit 3268606

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/torchcodec/samplers/_time_based.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def _generic_time_based_sampler(
214214
frames, pts_seconds, duration_seconds = get_frames_by_pts(
215215
decoder._decoder,
216216
stream_index=decoder.stream_index,
217-
frame_ptss=all_clips_timestamps,
217+
timestamps=all_clips_timestamps,
218218
)
219219
return _make_5d_framebatch(
220220
data=frames,

0 commit comments

Comments
 (0)