diff options
author | Surajit Podder <spodder@codeaurora.org> | 2015-08-19 00:52:18 +0530 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2015-10-06 03:24:46 -0600 |
commit | 6f72743fd1066bb62d1ef3d96492a4110735341a (patch) | |
tree | f651b62a60ab67f9ff81766ebd1b88349152a25d /media/libstagefright/data | |
parent | c9513cd3baa81cd99752bcce8d998a6a2ee2af57 (diff) | |
download | frameworks_av-6f72743fd1066bb62d1ef3d96492a4110735341a.zip frameworks_av-6f72743fd1066bb62d1ef3d96492a4110735341a.tar.gz frameworks_av-6f72743fd1066bb62d1ef3d96492a4110735341a.tar.bz2 |
video: Add support for MPEG4 DP video clips
Hardware decoder does not support MPEG4 DP clips
Add changes to use software decoder MPEG4 DP streams:
* Add mapping for MPEG4DP mime to compression type
* Add MPEG4 DP mime to software MPEG4 decoder
Change-Id: Ic763b7b5714ce6533c07e8bb65f0ecd09dc24e9e
Diffstat (limited to 'media/libstagefright/data')
-rwxr-xr-x | media/libstagefright/data/media_codecs_google_video.xml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/media/libstagefright/data/media_codecs_google_video.xml b/media/libstagefright/data/media_codecs_google_video.xml index 740f96b..a83789c 100755 --- a/media/libstagefright/data/media_codecs_google_video.xml +++ b/media/libstagefright/data/media_codecs_google_video.xml @@ -25,7 +25,14 @@ <Limit name="bitrate" range="1-20000000" /> <Feature name="adaptive-playback" /> </MediaCodec> - <MediaCodec name="OMX.google.mpeg4.decoder" type="video/mp4v-es"> + <MediaCodec name="OMX.google.mpeg4.decoder"> + <Type name="video/mp4v-es" /> + <!-- + Use Google mpeg4 decoder for mpeg4 DP content which is not + supported by HW. A component can be used to support several + mimetypes, so non-DP mpeg4 usecases will not be affected by this. + --> + <Type name="video/mp4v-esdp" /> <!-- profiles and levels: ProfileSimple : Level3 --> <Limit name="size" min="2x2" max="352x288" /> <Limit name="alignment" value="2x2" /> |