Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 37d07c04 authored by Sally Qi's avatar Sally Qi
Browse files

Correct the comment in Output::getBestDataspace.

Bug: N/A
Change-Id: Ia34db4dd225752054478ca9977d88657cf556a0c
Test: builds
parent af8e30b6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -967,7 +967,7 @@ ui::Dataspace Output::getBestDataspace(ui::Dataspace* outHdrDataSpace,
            case ui::Dataspace::BT2020_ITU_HLG:
                bestDataSpace = ui::Dataspace::DISPLAY_P3;
                // When there's mixed PQ content and HLG content, we set the HDR
                // data space to be BT2020_PQ and convert HLG to PQ.
                // data space to be BT2020_HLG and convert PQ to HLG.
                if (*outHdrDataSpace == ui::Dataspace::UNKNOWN) {
                    *outHdrDataSpace = ui::Dataspace::BT2020_HLG;
                }