Bug 1100210: Mark MPEG2 Layer 1,2,3 audio as MP3. r=k17e

Extract data from ESDS atom's objectTypeIndication
This commit is contained in:
Jean-Yves Avenard 2015-03-17 16:42:47 +11:00
parent a7306ad85c
commit 58776daaec

View File

@ -2445,7 +2445,7 @@ status_t MPEG4Extractor::updateAudioTrackInfoFromESDS_MPEG4Audio(
return OK;
}
if (objectTypeIndication == 0x6b) {
if (objectTypeIndication == 0x6b || objectTypeIndication == 0x69) {
// The media subtype is MP3 audio
mLastTrack->meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_MPEG);
}