mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 933091 - Re-enable MP3FrameParser to parse MP3 duration. r=sotaro, r=doublec
This commit is contained in:
parent
7938675491
commit
0d03bd6791
@ -324,6 +324,12 @@ bool OmxDecoder::Init(sp<MediaExtractor>& extractor) {
|
||||
}
|
||||
#endif
|
||||
|
||||
const char* extractorMime;
|
||||
sp<MetaData> meta = extractor->getMetaData();
|
||||
if (meta->findCString(kKeyMIMEType, &extractorMime) && !strcasecmp(extractorMime, AUDIO_MP3)) {
|
||||
mIsMp3 = true;
|
||||
}
|
||||
|
||||
ssize_t audioTrackIndex = -1;
|
||||
ssize_t videoTrackIndex = -1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user