diff options
author | Marco Nelissen <marcone@google.com> | 2012-04-04 14:08:01 -0700 |
---|---|---|
committer | Marco Nelissen <marcone@google.com> | 2012-04-04 14:26:45 -0700 |
commit | 4762a5164a986bd6a7ca0e7aba43881b64f146dd (patch) | |
tree | 2f9ab123566c3d3710ec2499f09c0586c6dd9e00 /media | |
parent | 99448608f375a7191c068c3bfd296f204b58a219 (diff) | |
download | frameworks_av-4762a5164a986bd6a7ca0e7aba43881b64f146dd.zip frameworks_av-4762a5164a986bd6a7ca0e7aba43881b64f146dd.tar.gz frameworks_av-4762a5164a986bd6a7ca0e7aba43881b64f146dd.tar.bz2 |
Send video width and height to mediascanner
b/5820120
Change-Id: Ia5c48eb1ab15fe3bbe773131148470a06eb2b96d
Diffstat (limited to 'media')
-rw-r--r-- | media/libstagefright/StagefrightMediaScanner.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/media/libstagefright/StagefrightMediaScanner.cpp b/media/libstagefright/StagefrightMediaScanner.cpp index bd7a226..711a8cd 100644 --- a/media/libstagefright/StagefrightMediaScanner.cpp +++ b/media/libstagefright/StagefrightMediaScanner.cpp @@ -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]); |