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 | 516dacfb02d0b0eafe21114330c98ce0e7d90da9 (patch) | |
tree | d52b7097f333fa4d010f224849897b9808b6463a /include | |
parent | 88e672043a0671557d9c0877e069dc95de0d8cb0 (diff) | |
download | frameworks_av-516dacfb02d0b0eafe21114330c98ce0e7d90da9.zip frameworks_av-516dacfb02d0b0eafe21114330c98ce0e7d90da9.tar.gz frameworks_av-516dacfb02d0b0eafe21114330c98ce0e7d90da9.tar.bz2 |
Respect sample aspect ratio in NuPlayer.
related-to-bug: 7569402
Change-Id: I302de95d83b180bd2dc72ddd0c69a665dbce2527
Diffstat (limited to 'include')
-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', |