summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2011-01-16 11:30:13 -0800
committerJames Dong <jdong@google.com>2011-01-19 08:33:07 -0800
commit08adfd29ae3634b554cfe184ab82f112ef934d7b (patch)
tree4c18050f552689c88684288af75588b81c8c5c8c /include
parentc40fc87147baffa2a71d66550a0f99ca2524f4b9 (diff)
downloadframeworks_base-08adfd29ae3634b554cfe184ab82f112ef934d7b.zip
frameworks_base-08adfd29ae3634b554cfe184ab82f112ef934d7b.tar.gz
frameworks_base-08adfd29ae3634b554cfe184ab82f112ef934d7b.tar.bz2
Fix the presentation video resolution when it is different from the actual image resolution of the video.
bug - 3352413 Change-Id: I8f08f3896e9fb90f09119dccdb88b82af60f79f2
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/MetaData.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/media/stagefright/MetaData.h b/include/media/stagefright/MetaData.h
index 5170a2c..18fd90e 100644
--- a/include/media/stagefright/MetaData.h
+++ b/include/media/stagefright/MetaData.h
@@ -30,8 +30,10 @@ namespace android {
// The following keys map to int32_t data unless indicated otherwise.
enum {
kKeyMIMEType = 'mime', // cstring
- kKeyWidth = 'widt', // int32_t
- kKeyHeight = 'heig', // int32_t
+ kKeyWidth = 'widt', // int32_t, image pixel
+ kKeyHeight = 'heig', // int32_t, image pixel
+ kKeyDisplayWidth = 'dWid', // int32_t, display/presentation
+ kKeyDisplayHeight = 'dHgt', // int32_t, display/presentation
// a rectangle, if absent assumed to be (0, 0, width - 1, height - 1)
kKeyCropRect = 'crop',