mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-25 00:12:44 +00:00
[host] pipewire: report truncated frames correctly
This commit is contained in:
@@ -451,7 +451,7 @@ static CaptureResult pipewire_waitFrame(
|
|||||||
frame->dataHeight = this->dataHeight;
|
frame->dataHeight = this->dataHeight;
|
||||||
frame->frameWidth = this->width;
|
frame->frameWidth = this->width;
|
||||||
frame->frameHeight = this->height;
|
frame->frameHeight = this->height;
|
||||||
frame->truncated = maxHeight < this->dataHeight;
|
frame->truncated = maxHeight < this->height;
|
||||||
frame->pitch = this->pitch;
|
frame->pitch = this->pitch;
|
||||||
frame->stride = this->width;
|
frame->stride = this->width;
|
||||||
frame->rotation = CAPTURE_ROT_0;
|
frame->rotation = CAPTURE_ROT_0;
|
||||||
|
|||||||
Reference in New Issue
Block a user