[host] pipewire: report truncated frames correctly

This commit is contained in:
Geoffrey McRae
2026-08-24 12:36:17 +10:00
parent 50b1c9b2e2
commit abf98c0267

View File

@@ -451,7 +451,7 @@ static CaptureResult pipewire_waitFrame(
frame->dataHeight = this->dataHeight;
frame->frameWidth = this->width;
frame->frameHeight = this->height;
frame->truncated = maxHeight < this->dataHeight;
frame->truncated = maxHeight < this->height;
frame->pitch = this->pitch;
frame->stride = this->width;
frame->rotation = CAPTURE_ROT_0;