From b09e36dcb7c3ebd992407ba6a844353177f30ed3 Mon Sep 17 00:00:00 2001 From: olly Date: Mon, 17 Sep 2018 09:38:41 -0700 Subject: [PATCH] SmoothStreaming: Test for fourCC equal to DFXP Issue: #4824 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=213285790 --- .../source/smoothstreaming/manifest/SsManifestParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/manifest/SsManifestParser.java b/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/manifest/SsManifestParser.java index 36eb6665f3..cc09b5ff11 100644 --- a/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/manifest/SsManifestParser.java +++ b/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/manifest/SsManifestParser.java @@ -715,7 +715,7 @@ public class SsManifestParser implements ParsingLoadable.Parser { } else if (fourCC.equalsIgnoreCase("AAC") || fourCC.equalsIgnoreCase("AACL") || fourCC.equalsIgnoreCase("AACH") || fourCC.equalsIgnoreCase("AACP")) { return MimeTypes.AUDIO_AAC; - } else if (fourCC.equalsIgnoreCase("TTML")) { + } else if (fourCC.equalsIgnoreCase("TTML") || fourCC.equalsIgnoreCase("DFXP")) { return MimeTypes.APPLICATION_TTML; } else if (fourCC.equalsIgnoreCase("ac-3") || fourCC.equalsIgnoreCase("dac3")) { return MimeTypes.AUDIO_AC3;