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 /include/media | |
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 'include/media')
-rw-r--r-- | include/media/stagefright/Utils.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/media/stagefright/Utils.h b/include/media/stagefright/Utils.h index 1e9de1a..847ea36 100644 --- a/include/media/stagefright/Utils.h +++ b/include/media/stagefright/Utils.h @@ -87,6 +87,10 @@ void readFromAMessage( audio_format_t getPCMFormat(const sp<AMessage> &format); +void updateVideoTrackInfoFromESDS_MPEG4Video(sp<MetaData> meta); +bool checkDPFromVOLHeader(const uint8_t *ptr, size_t size); +bool checkDPFromCodecSpecificData(const uint8_t *ptr, size_t size); + } // namespace android #endif // UTILS_H_ |