Fix issue with playback

This commit is contained in:
2023-09-12 16:44:55 +02:00
parent 7dadd440d0
commit 4b25463a2f
2 changed files with 7 additions and 3 deletions

View File

@@ -40,6 +40,7 @@ class ArSessionPlayback final : public ArSession, public std::enable_shared_from
const bool autoAdvance;
ArPlaybackReader playbackReader;
std::atomic_bool m_frameConsumed = true;
std::shared_ptr<ArFrame> m_nextFrame;
std::thread m_playbackReaderThread;
};