Closed NicolasHug closed 2 weeks ago
Thanks for the review Ahmad. @scotts , I'll merge this now so I can move https://github.com/pytorch/torchcodec/pull/284 forward, but I'll happily address any further comment you may have
Just commenting to chime in on the actual merged PR that is is a great catch. Thanks for fixing my bug. :)
This is a fix for the bug described in https://github.com/pytorch/torchcodec/pull/286. We use a sightly different solution as suggested in https://github.com/pytorch/torchcodec/pull/286#issuecomment-2435362727.
This PR fixes the behavior of both
get_frame_at_timestamps()
andget_frames_at_timestamps_in_range()
.