[Android] Add mks file as allowed subtitles extension

Nicolas Pomepuy git at videolan.org
Wed Sep 2 09:41:28 CEST 2020


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Tue Sep  1 09:26:02 2020 +0200| [cfd55f1b302ea14a8317a0094824423d463f2187] | committer: Nicolas Pomepuy

Add mks file as allowed subtitles extension

Fixes #1467

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

 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 f2d32c06e..2832b146e 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", ".ttml" };
+                ".pjs", ".dks", ".stl", ".vtt", ".ttml", ".mks" };
 
         final String[] playlistExtensions = {".m3u", ".asx",  ".b4s",  ".pls", ".xspf"/*,  ".zip"*/};
 



More information about the Android mailing list