Properly fill in the component name for the software decoders.
Change-Id: I92071481f7ed94922b10856c981e507a9eec4c0c related-to-bug: 2557787
This commit is contained in:
@@ -144,6 +144,8 @@ sp<MetaData> AACDecoder::getFormat() {
|
||||
meta->setInt64(kKeyDuration, durationUs);
|
||||
}
|
||||
|
||||
meta->setCString(kKeyDecoderComponent, "AACDecoder");
|
||||
|
||||
return meta;
|
||||
}
|
||||
|
||||
|
||||
@@ -105,6 +105,8 @@ sp<MetaData> AMRNBDecoder::getFormat() {
|
||||
meta->setInt64(kKeyDuration, durationUs);
|
||||
}
|
||||
|
||||
meta->setCString(kKeyDecoderComponent, "AMRNBDecoder");
|
||||
|
||||
return meta;
|
||||
}
|
||||
|
||||
|
||||
@@ -138,6 +138,8 @@ sp<MetaData> AMRNBEncoder::getFormat() {
|
||||
meta->setInt64(kKeyDuration, durationUs);
|
||||
}
|
||||
|
||||
meta->setCString(kKeyDecoderComponent, "AMRNBEncoder");
|
||||
|
||||
return meta;
|
||||
}
|
||||
|
||||
|
||||
@@ -110,6 +110,8 @@ sp<MetaData> AMRWBDecoder::getFormat() {
|
||||
meta->setInt64(kKeyDuration, durationUs);
|
||||
}
|
||||
|
||||
meta->setCString(kKeyDecoderComponent, "AMRWBDecoder");
|
||||
|
||||
return meta;
|
||||
}
|
||||
|
||||
|
||||
@@ -107,6 +107,8 @@ sp<MetaData> MP3Decoder::getFormat() {
|
||||
meta->setInt64(kKeyDuration, durationUs);
|
||||
}
|
||||
|
||||
meta->setCString(kKeyDecoderComponent, "MP3Decoder");
|
||||
|
||||
return meta;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user