[host] pw: fix build due to frame info structure changes

This commit is contained in:
Geoffrey McRae 2022-05-04 10:59:44 +10:00
parent 3d727a2254
commit 81f91caf0e

View File

@ -425,9 +425,11 @@ static CaptureResult pipewire_waitFrame(CaptureFrame * frame,
frame->formatVer = this->formatVer; frame->formatVer = this->formatVer;
frame->format = this->format; frame->format = this->format;
frame->width = this->width; frame->screenWidth = this->width;
frame->height = maxHeight > this->height ? this->height : maxHeight; frame->screenHeight = this->height;
frame->realHeight = this->height; frame->frameWidth = this->width;
frame->frameHeight = maxHeight > this->height ? this->height : maxHeight;
frame->truncated = maxHeight > this->height;
frame->pitch = this->width * bpp; frame->pitch = this->width * bpp;
frame->stride = this->width; frame->stride = this->width;
frame->rotation = CAPTURE_ROT_0; frame->rotation = CAPTURE_ROT_0;