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

Commit 602fe7ab authored by Sally Qi's avatar Sally Qi
Browse files

[Lut screenshot] release the fd to gui::DisplayLuts instance.

Bug: 413783990
Test: play hdr video and rotate
Flag: EXEMPT bugfix
Change-Id: I1546425e2e03520a12f7b5e2eb27b4e7ee14a5b4
parent a83cc37d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -174,7 +174,7 @@ ScreenCaptureOutput::generateClientCompositionRequests(
                            static_cast<int32_t>(aidlLuts.lutProperties[j].samplingKeys[0]));
                }
                layer.luts = std::make_shared<gui::DisplayLuts>(base::unique_fd(
                                                                        aidlLuts.pfd.dup().get()),
                                                                        aidlLuts.pfd.release()),
                                                                offsets, dimensions, sizes, keys);
            }
        }