[Android] extensions: Add .ttml to supported subtitle extensions

Hugo Beauzée-Luyssen git at videolan.org
Thu Sep 14 14:58:01 CEST 2017


vlc-android | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Sep 14 14:56:15 2017 +0200| [bcf9bdcc3dd38e3a2010bec66ce670981c58ab56] | committer: Hugo Beauzée-Luyssen

extensions: Add .ttml to supported subtitle extensions

Fix #363

> https://code.videolan.org/videolan/vlc-android/commit/bcf9bdcc3dd38e3a2010bec66ce670981c58ab56
---

 libvlc/src/org/videolan/libvlc/util/Extensions.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libvlc/src/org/videolan/libvlc/util/Extensions.java b/libvlc/src/org/videolan/libvlc/util/Extensions.java
index c962c21f9..1530db7c8 100644
--- a/libvlc/src/org/videolan/libvlc/util/Extensions.java
+++ b/libvlc/src/org/videolan/libvlc/util/Extensions.java
@@ -50,7 +50,7 @@ public class Extensions {
         final String[] subtitlesExtensions = {
                 ".idx", ".sub",  ".srt", ".ssa", ".ass",  ".smi", ".utf", ".utf8", ".utf-8",
                 ".rt",   ".aqt", ".txt", ".usf", ".jss",  ".cdg", ".psb", ".mpsub",".mpl2",
-                ".pjs", ".dks", ".stl", ".vtt" };
+                ".pjs", ".dks", ".stl", ".vtt", ".ttml" };
 
         final String[] playlistExtensions = {".m3u", ".asx",  ".b4s",  ".pls", ".xspf"/*,  ".zip"*/};
 



More information about the Android mailing list