[host] nvfbc: fix failure to store last hdr state

This commit is contained in:
Geoffrey McRae 2023-04-26 15:58:09 +10:00
parent 45318aa653
commit 99333a03c1

View File

@ -714,6 +714,8 @@ static CaptureResult nvfbc_waitFrame(CaptureFrame * frame,
this->grabWidth = this->grabInfo.dwWidth;
this->grabHeight = this->grabInfo.dwHeight;
this->grabStride = this->grabInfo.dwBufferWidth;
this->isHDR = this->grabInfo.bIsHDR;
// Round up stride in IVSHMEM to avoid issues with dmabuf import.
this->shmStride = ALIGN_PAD(this->grabStride, 32);