From a70cea33b7d417fd79c33b494efd600ed989c564 Mon Sep 17 00:00:00 2001 From: Ibai Gorordo <43162939+ibaiGorordo@users.noreply.github.com> Date: Fri, 17 Feb 2023 13:27:29 +0900 Subject: [PATCH] #91 Fix playback calibration error --- pykinect_azure/k4arecord/playback.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pykinect_azure/k4arecord/playback.py b/pykinect_azure/k4arecord/playback.py index b06021b..826ebd3 100644 --- a/pykinect_azure/k4arecord/playback.py +++ b/pykinect_azure/k4arecord/playback.py @@ -64,7 +64,7 @@ def get_next_capture(self): self._capture.release_handle() self._capture._handle = capture_handle else: - self._capture = Capture(capture_handle, self.calibration.handle()) + self._capture = Capture(capture_handle, self.calibration) ret = _k4arecord.k4a_playback_get_next_capture(self._handle, capture_handle) != _k4arecord.K4A_STREAM_RESULT_EOF @@ -78,7 +78,7 @@ def get_previous_capture(self): self._capture.release_handle() self._capture._handle = capture_handle else: - self._capture = Capture(capture_handle, self.calibration.handle()) + self._capture = Capture(capture_handle, self.calibration) ret = _k4arecord.k4a_playback_get_previous_capture(self._handle, capture_handle) != _k4arecord.K4A_STREAM_RESULT_EOF