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
commitb45c01c2b8588ff431b511151666a55a39f0a6ae (patch)
tree94a766af98d29e9b6d745e42a5f625106267a2e1 /include
parent2b4883641e324c50a2ee24c5bd15170c7d31e57d (diff)
downloadframeworks_av-b45c01c2b8588ff431b511151666a55a39f0a6ae.zip
frameworks_av-b45c01c2b8588ff431b511151666a55a39f0a6ae.tar.gz
frameworks_av-b45c01c2b8588ff431b511151666a55a39f0a6ae.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',