Hook up Opus and MP1/MP2 audio decoder.

This commit is contained in:
Damiano Galassi committed 2016-07-27 11:37:35 +02:00
1 parent 20c26a5db6
commit e2adc70d63
6 files changed
+24 -2

No files matched your search

+6
View File
@@ -414,10 +414,16 @@ int readMkvPacket(struct StdIoStream *ioStream, TrackInfo *trackInfo, uint64_t
return MP42VideoFormatMPEG2;
else if (!strcmp(track->CodecID, "A_DTS"))
return MP42AudioFormatDTS;
else if (!strcmp(track->CodecID, "A_OPUS"))
return MP42AudioFormatOpus;
else if (!strcmp(track->CodecID, "A_VORBIS"))
return MP42AudioFormatVorbis;
else if (!strcmp(track->CodecID, "A_FLAC"))
return MP42AudioFormatFLAC;
else if (!strcmp(track->CodecID, "A_MPEG/L1"))
return MP42AudioFormatMP1;
else if (!strcmp(track->CodecID, "A_MPEG/L2"))
return MP42AudioFormatMP2;
else if (!strcmp(track->CodecID, "A_MPEG/L3"))
return MP42AudioFormatMP3;
else if (!strcmp(track->CodecID, "A_TRUEHD"))