[client] egl: fix messy white level default definition
This commit is contained in:
1 parent
9d2b8da098
commit
9e4de870fc
3 files changed
+4
-4
No files matched your search
@@ -883,7 +883,7 @@ static void lgFormatInit(LGPlugin * this, const KVMFRFrame * frame,
|
||||
this->hdr = frame->flags & FRAME_FLAG_HDR;
|
||||
this->hdrPQ = frame->flags & FRAME_FLAG_HDR_PQ;
|
||||
this->sdrWhiteLevel = frame->sdrWhiteLevel ?
|
||||
(float)frame->sdrWhiteLevel : (float)KVMFR_SDR_WHITE_LEVEL_DEFAULT;
|
||||
frame->sdrWhiteLevel : KVMFR_SDR_WHITE_LEVEL_DEFAULT;
|
||||
|
||||
if (this->hdr && this->hdrPQ)
|
||||
lgComputeColorMatrix(this);
|
||||
|
||||
Reference in new issue
Block a user