summaryrefslogtreecommitdiffstats
path: root/media/libstagefright
diff options
context:
space:
mode:
authortrav90 <travawine@palemoon.org>2018-11-18 13:02:19 -0600
committertrav90 <travawine@palemoon.org>2018-11-18 13:02:19 -0600
commit4d8b7a376f061f49f184c17d820b9057a82c4522 (patch)
treeb88c52e32772583719c51babf0c2e3f5b6aa85c5 /media/libstagefright
parentdf59d06fd31378c5ee6ec20badffc25ecb81a575 (diff)
downloadUXP-4d8b7a376f061f49f184c17d820b9057a82c4522.tar
UXP-4d8b7a376f061f49f184c17d820b9057a82c4522.tar.gz
UXP-4d8b7a376f061f49f184c17d820b9057a82c4522.tar.lz
UXP-4d8b7a376f061f49f184c17d820b9057a82c4522.tar.xz
UXP-4d8b7a376f061f49f184c17d820b9057a82c4522.zip
Add support to libstagefright for AV1 FourCCs (part 2)
Diffstat (limited to 'media/libstagefright')
-rw-r--r--media/libstagefright/frameworks/av/media/libstagefright/MPEG4Extractor.cpp3
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 47b192f3f..786e80487 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;