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

Commit 7167472d authored by Andreas Huber's avatar Andreas Huber
Browse files

Properly fill in the component name for the software decoders.

Change-Id: I92071481f7ed94922b10856c981e507a9eec4c0c
related-to-bug: 2557787
parent fef8cebc
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -144,6 +144,8 @@ sp<MetaData> AACDecoder::getFormat() {
        meta->setInt64(kKeyDuration, durationUs);
    }

    meta->setCString(kKeyDecoderComponent, "AACDecoder");

    return meta;
}

+2 −0
Original line number Diff line number Diff line
@@ -105,6 +105,8 @@ sp<MetaData> AMRNBDecoder::getFormat() {
        meta->setInt64(kKeyDuration, durationUs);
    }

    meta->setCString(kKeyDecoderComponent, "AMRNBDecoder");

    return meta;
}

+2 −0
Original line number Diff line number Diff line
@@ -138,6 +138,8 @@ sp<MetaData> AMRNBEncoder::getFormat() {
        meta->setInt64(kKeyDuration, durationUs);
    }

    meta->setCString(kKeyDecoderComponent, "AMRNBEncoder");

    return meta;
}

+2 −0
Original line number Diff line number Diff line
@@ -110,6 +110,8 @@ sp<MetaData> AMRWBDecoder::getFormat() {
        meta->setInt64(kKeyDuration, durationUs);
    }

    meta->setCString(kKeyDecoderComponent, "AMRWBDecoder");

    return meta;
}

+2 −0
Original line number Diff line number Diff line
@@ -107,6 +107,8 @@ sp<MetaData> MP3Decoder::getFormat() {
        meta->setInt64(kKeyDuration, durationUs);
    }

    meta->setCString(kKeyDecoderComponent, "MP3Decoder");

    return meta;
}