mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-14 01:58:25 +00:00
[host] nvfbc: fix failure to store last hdr state
This commit is contained in:
parent
45318aa653
commit
99333a03c1
@ -714,6 +714,8 @@ static CaptureResult nvfbc_waitFrame(CaptureFrame * frame,
|
|||||||
this->grabWidth = this->grabInfo.dwWidth;
|
this->grabWidth = this->grabInfo.dwWidth;
|
||||||
this->grabHeight = this->grabInfo.dwHeight;
|
this->grabHeight = this->grabInfo.dwHeight;
|
||||||
this->grabStride = this->grabInfo.dwBufferWidth;
|
this->grabStride = this->grabInfo.dwBufferWidth;
|
||||||
|
this->isHDR = this->grabInfo.bIsHDR;
|
||||||
|
|
||||||
// Round up stride in IVSHMEM to avoid issues with dmabuf import.
|
// Round up stride in IVSHMEM to avoid issues with dmabuf import.
|
||||||
this->shmStride = ALIGN_PAD(this->grabStride, 32);
|
this->shmStride = ALIGN_PAD(this->grabStride, 32);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user