diff options
author | Leena Winterrowd <lenhardw@codeaurora.org> | 2014-09-10 19:22:54 -0700 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-11-30 15:04:08 -0800 |
commit | d69ffb9cf12a4664584e0b3eea30e23b95db4ad0 (patch) | |
tree | f6134cec387a1d95ade4ba7d33b74aafc51a4d22 /media/libstagefright/matroska | |
parent | 46c4173bc9b415b443f2705675dd5785f0c4c46c (diff) | |
download | frameworks_av-d69ffb9cf12a4664584e0b3eea30e23b95db4ad0.zip frameworks_av-d69ffb9cf12a4664584e0b3eea30e23b95db4ad0.tar.gz frameworks_av-d69ffb9cf12a4664584e0b3eea30e23b95db4ad0.tar.bz2 |
libstagefright: Handle MPEG4 DP playback
Since the HW decoder doesn't support MPEG4 DP clips, detect DP
format clips in the parser and report a new MIME:
video/mpeg4-esdp. This MIME is only registered to the SW
decoder which supports DP clips.
Merges the following change from kitkat:
libstagefright: Fix DP Parsing issue with mpeg4 SP,ASP
(Change-Id: I69c719011e1a0d2a0b0ae5a9b504b7cce443866b)
CRs-Fixed: 722066
Change-Id: I7bc3a7a9f4a6d37e046ed9c8008cb27fb3bc665d
Diffstat (limited to 'media/libstagefright/matroska')
-rw-r--r-- | media/libstagefright/matroska/MatroskaExtractor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/media/libstagefright/matroska/MatroskaExtractor.cpp b/media/libstagefright/matroska/MatroskaExtractor.cpp index 06057d0..f8fa015 100644 --- a/media/libstagefright/matroska/MatroskaExtractor.cpp +++ b/media/libstagefright/matroska/MatroskaExtractor.cpp @@ -903,6 +903,8 @@ static void addESDSFromCodecPrivate( meta->setData(kKeyESDS, 0, esds, esdsSize); + updateVideoTrackInfoFromESDS_MPEG4Video(meta); + delete[] esds; esds = NULL; } |