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

Commit 4762a516 authored by Marco Nelissen's avatar Marco Nelissen
Browse files

Send video width and height to mediascanner

b/5820120

Change-Id: Ia5c48eb1ab15fe3bbe773131148470a06eb2b96d
parent 99448608
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -171,6 +171,8 @@ MediaScanResult StagefrightMediaScanner::processFileInternal(
        { "writer", METADATA_KEY_WRITER },
        { "compilation", METADATA_KEY_COMPILATION },
        { "isdrm", METADATA_KEY_IS_DRM },
        { "width", METADATA_KEY_VIDEO_WIDTH },
        { "height", METADATA_KEY_VIDEO_HEIGHT },
    };
    static const size_t kNumEntries = sizeof(kKeyMap) / sizeof(kKeyMap[0]);