Properly fill in the component name for the software decoders.

Change-Id: I92071481f7ed94922b10856c981e507a9eec4c0c
related-to-bug: 2557787
This commit is contained in:
Andreas Huber
2010-03-30 13:50:38 -07:00
parent fef8cebcdc
commit 7167472d84
5 changed files with 10 additions and 0 deletions

View File

@@ -144,6 +144,8 @@ sp<MetaData> AACDecoder::getFormat() {
meta->setInt64(kKeyDuration, durationUs);
}
meta->setCString(kKeyDecoderComponent, "AACDecoder");
return meta;
}

View File

@@ -105,6 +105,8 @@ sp<MetaData> AMRNBDecoder::getFormat() {
meta->setInt64(kKeyDuration, durationUs);
}
meta->setCString(kKeyDecoderComponent, "AMRNBDecoder");
return meta;
}

View File

@@ -138,6 +138,8 @@ sp<MetaData> AMRNBEncoder::getFormat() {
meta->setInt64(kKeyDuration, durationUs);
}
meta->setCString(kKeyDecoderComponent, "AMRNBEncoder");
return meta;
}

View File

@@ -110,6 +110,8 @@ sp<MetaData> AMRWBDecoder::getFormat() {
meta->setInt64(kKeyDuration, durationUs);
}
meta->setCString(kKeyDecoderComponent, "AMRWBDecoder");
return meta;
}

View File

@@ -107,6 +107,8 @@ sp<MetaData> MP3Decoder::getFormat() {
meta->setInt64(kKeyDuration, durationUs);
}
meta->setCString(kKeyDecoderComponent, "MP3Decoder");
return meta;
}