fix(windows-nui): keep producing into ring while a frame is outstanding (removes deadlock that froze delivery after 1 depth frame)
ci / Linux C++ core (cmake + ctest) (push) Canceled after 0s
ci / Python root tests (pytest, no tracker deps) (push) Canceled after 0s
ci / Python tracker (pytest, tracker/.venv) (push) Canceled after 0s

This commit is contained in:
kinect-bot committed 2026-11-25 15:50:05 -05:00
1 parent 30a2daef30
commit 200a947a1a
1 file changed
+7 -1
+7 -1
View File
@@ -407,7 +407,13 @@ HRESULT VirtualKinectSensor::ImageStreamReleaseFrame(
return E_NOINTERFACE;
}
stream->outstanding = false;
const int stype = static_cast<int>(stream->type);
LeaveCriticalSection(&lock_);
static unsigned rel = 0;
if (rel < 6) {
ShimLog("ImageStreamReleaseFrame#%u type=%d", rel, stype);
}
++rel;
return S_OK;
}
@@ -452,7 +458,7 @@ void VirtualKinectSensor::BuildSkeletonFrame(const SourceFrame& src) {
void VirtualKinectSensor::FillStreams(const SourceFrame& src) {
for (auto& stream : streams_) {
if (!stream.open || stream.outstanding) {
if (!stream.open) {
continue;
}
const std::size_t next = (stream.has_frame)