diff options
author | trav90 <travawine@palemoon.org> | 2018-11-18 13:02:19 -0600 |
---|---|---|
committer | trav90 <travawine@palemoon.org> | 2018-11-18 13:02:19 -0600 |
commit | 4d8b7a376f061f49f184c17d820b9057a82c4522 (patch) | |
tree | b88c52e32772583719c51babf0c2e3f5b6aa85c5 /media | |
parent | df59d06fd31378c5ee6ec20badffc25ecb81a575 (diff) | |
download | uxp-4d8b7a376f061f49f184c17d820b9057a82c4522.tar.gz |
Add support to libstagefright for AV1 FourCCs (part 2)
Diffstat (limited to 'media')
-rw-r--r-- | media/libstagefright/frameworks/av/media/libstagefright/MPEG4Extractor.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/media/libstagefright/frameworks/av/media/libstagefright/MPEG4Extractor.cpp b/media/libstagefright/frameworks/av/media/libstagefright/MPEG4Extractor.cpp index 47b192f3fb..786e804878 100644 --- a/media/libstagefright/frameworks/av/media/libstagefright/MPEG4Extractor.cpp +++ b/media/libstagefright/frameworks/av/media/libstagefright/MPEG4Extractor.cpp @@ -270,6 +270,7 @@ static const char *FourCC2MIME(uint32_t fourcc) { return MEDIA_MIMETYPE_VIDEO_VP6; case FOURCC('a', 'v', '0', '1'): + case FOURCC('.', 'a', 'v', '1'): return MEDIA_MIMETYPE_VIDEO_AV1; default: @@ -1349,6 +1350,8 @@ status_t MPEG4Extractor::parseChunk(off64_t *offset, int depth) { case FOURCC('a', 'v', 'c', '1'): case FOURCC('a', 'v', 'c', '3'): case FOURCC('V', 'P', '6', 'F'): + case FOURCC('a', 'v', '0', '1'): + case FOURCC('.', 'a', 'v', '1'): { mHasVideo = true; |