summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2012-12-03 15:20:40 -0800
committerAndreas Huber <andih@google.com>2012-12-05 10:34:34 -0800
commite9810fae2ca6620337b75a787786cc0ea52adecd (patch)
treef848298646fb0163e6911ad8622adcc12a8eba3f /include/media
parent07dfb08e935fdfe9f73f452cf27e3e2b052eda4f (diff)
downloadframeworks_av-e9810fae2ca6620337b75a787786cc0ea52adecd.zip
frameworks_av-e9810fae2ca6620337b75a787786cc0ea52adecd.tar.gz
frameworks_av-e9810fae2ca6620337b75a787786cc0ea52adecd.tar.bz2
Respect sample aspect ratio in NuPlayer.
related-to-bug: 7569402 Change-Id: I302de95d83b180bd2dc72ddd0c69a665dbce2527
Diffstat (limited to 'include/media')
-rw-r--r--include/media/stagefright/MetaData.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/stagefright/MetaData.h b/include/media/stagefright/MetaData.h
index e91904c..be08c19 100644
--- a/include/media/stagefright/MetaData.h
+++ b/include/media/stagefright/MetaData.h
@@ -35,6 +35,8 @@ enum {
kKeyHeight = 'heig', // int32_t, image pixel
kKeyDisplayWidth = 'dWid', // int32_t, display/presentation
kKeyDisplayHeight = 'dHgt', // int32_t, display/presentation
+ kKeySARWidth = 'sarW', // int32_t, sampleAspectRatio width
+ kKeySARHeight = 'sarH', // int32_t, sampleAspectRatio height
// a rectangle, if absent assumed to be (0, 0, width - 1, height - 1)
kKeyCropRect = 'crop',