diff --git a/src/torchcodec/decoders/_core/VideoDecoder.h b/src/torchcodec/decoders/_core/VideoDecoder.h index b367aa7b..280a018c 100644 --- a/src/torchcodec/decoders/_core/VideoDecoder.h +++ b/src/torchcodec/decoders/_core/VideoDecoder.h @@ -368,6 +368,7 @@ class VideoDecoder { // -------------------------------------------------------------------------- void setCursor(int64_t pts); + void setCursor(double) = delete; // prevent calls with doubles and floats bool canWeAvoidSeeking() const; void maybeSeekToBeforeDesiredPts();