Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3df53103 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add AC-4 type into kMimeToRole array and M3UParser"

parents b209ed7c 128d05d6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1391,6 +1391,7 @@ bool M3UParser::codecIsType(const AString &codec, const char *type) {
        case 'QDMC':
        case 'ulaw':
        case 'vdva':
        case 'ac-4':
            return !strcmp("audio", type);

        case 'avc1':
+2 −0
Original line number Diff line number Diff line
@@ -164,6 +164,8 @@ const char *GetComponentRole(bool isEncoder, const char *mime) {
            "audio_decoder.ac3", "audio_encoder.ac3" },
        { MEDIA_MIMETYPE_AUDIO_EAC3,
            "audio_decoder.eac3", "audio_encoder.eac3" },
        { MEDIA_MIMETYPE_AUDIO_AC4,
            "audio_decoder.ac4", "audio_encoder.ac4" },
        { MEDIA_MIMETYPE_IMAGE_ANDROID_HEIC,
            "image_decoder.heic", "image_encoder.heic" },
    };