diff options
author | Andreas Huber <andih@google.com> | 2012-12-03 15:20:40 -0800 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2012-12-05 10:34:34 -0800 |
commit | e9810fae2ca6620337b75a787786cc0ea52adecd (patch) | |
tree | f848298646fb0163e6911ad8622adcc12a8eba3f /include/media | |
parent | 07dfb08e935fdfe9f73f452cf27e3e2b052eda4f (diff) | |
download | frameworks_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.h | 2 |
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', |