From 81421f14211eb1da0bfbfc1c37e7ef8830cf1b6c Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Sat, 12 Sep 2015 19:50:01 +0200 Subject: [PATCH] Use the new media format strings. --- MP42/MP42PrivateUtilities.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MP42/MP42PrivateUtilities.m b/MP42/MP42PrivateUtilities.m index 66de703..2879c27 100644 --- a/MP42/MP42PrivateUtilities.m +++ b/MP42/MP42PrivateUtilities.m @@ -228,12 +228,16 @@ NSString* getHumanReadableTrackMediaDataName(MP4FileHandle fileHandle, MP4TrackI return MP42AudioFormatALAC; else if (!strcmp(dataName, "ac-3")) return MP42AudioFormatAC3; + else if (!strcmp(dataName, "ec-3")) + return MP42AudioFormatEAC3; else if (!strcmp(dataName, "mp4v")) return MP42VideoFormatMPEG4Visual; else if (!strcmp(dataName, "text")) return MP42SubtitleFormatText; else if (!strcmp(dataName, "tx3g")) return MP42SubtitleFormatTx3g; + else if (!strcmp(dataName, "wvtt")) + return MP42SubtitleFormatWebVTT; else if (!strcmp(dataName, "c608")) return MP42ClosedCaptionFormatCEA608; else if (!strcmp(dataName, "c708"))