From 9a443258c54eafc0bd5388a8d74772b73b9afee1 Mon Sep 17 00:00:00 2001 From: Vanshil Shah Date: Tue, 15 Apr 2025 17:39:01 +0000 Subject: [PATCH] Fix get_batch hang - use int64_t for NDArray PTS so they are correctly found in pts_frame_map_ --- include/decord/runtime/ndarray.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/decord/runtime/ndarray.h b/include/decord/runtime/ndarray.h index 8910f82a..33adba1f 100644 --- a/include/decord/runtime/ndarray.h +++ b/include/decord/runtime/ndarray.h @@ -37,7 +37,7 @@ namespace runtime { class NDArray { public: // pts of the frame - int pts=-1; + int64_t pts=-1; // internal container type struct Container; /*! \brief default constructor */