[vlc-devel] [PATCH] macosx: update allowed subtitle file extensions
Gonzalo Higuera Díaz
gonhidi at gmail.com
Sun Apr 23 00:27:46 CEST 2017
Make the list match the one found at include/vlc_interface.h.
---
modules/gui/macosx/VLCMainMenu.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/macosx/VLCMainMenu.m b/modules/gui/macosx/VLCMainMenu.m
index e0281d4..502e101 100644
--- a/modules/gui/macosx/VLCMainMenu.m
+++ b/modules/gui/macosx/VLCMainMenu.m
@@ -1004,7 +1004,7 @@
[openPanel setCanChooseDirectories: NO];
[openPanel setAllowsMultipleSelection: YES];
- [openPanel setAllowedFileTypes: [NSArray arrayWithObjects:@"cdg",@"idx",@"srt",@"sub",@"utf",@"ass",@"ssa",@"aqt",@"jss",@"psb",@"rt",@"smi",@"txt",@"smil",nil]];
+ [openPanel setAllowedFileTypes: [NSArray arrayWithObjects:@"cdg",@"idx",@"srt",@"sub",@"utf",@"ass",@"ssa",@"aqt",@"jss",@"psb",@"rt",@"smi",@"txt",@"smil",@"stl",@"usf",@"dks",@"pjs",@"mpl2",@"mks",@"vtt",@"ttml",@"dfxp",nil]];
NSURL *url = [NSURL URLWithString:[toNSStr(path) stringByExpandingTildeInPath]];
url = [url URLByDeletingLastPathComponent];
--
2.10.1
More information about the vlc-devel
mailing list