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

Commit 6814c443 authored by Sally Qi's avatar Sally Qi
Browse files

Fix HDR sluggish issue.

- skip writing blobs if empty packet is sent for per-frame metadata.

Bug: 274050717
Test: play HDR video on YouTube
Change-Id: If8716613136c70a5adee29074cc2e9d35a500264
parent 8b0f27d7
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -87,6 +87,10 @@ class CommandWriterBase : public V2_2::CommandWriterBase {
            return;
        }

        if (metadata.size() == 0) {
            return;
        }

        // space for numElements
        commandLength += 1;