Skip to content

Commit

Permalink
#91 Fix playback calibration error
Browse files Browse the repository at this point in the history
  • Loading branch information
ibaiGorordo committed Feb 17, 2023
1 parent 0336d84 commit a70cea3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pykinect_azure/k4arecord/playback.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit a70cea3

Please sign in to comment.