[vlc-commits] macosx: update allowed subtitle file extensions
Gonzalo Higuera Díaz
git at videolan.org
Mon Apr 24 17:57:00 CEST 2017
vlc | branch: master | Gonzalo Higuera Díaz <gonhidi at gmail.com> | Sun Apr 23 00:27:46 2017 +0200| [c8afc4b9b803c3d2b5f2143d9ccdea6944dacaf7] | committer: Felix Paul Kühne
macosx: update allowed subtitle file extensions
Make the list match the one found at include/vlc_interface.h.
Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c8afc4b9b803c3d2b5f2143d9ccdea6944dacaf7
---
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 e0281d47e1..502e101980 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];
More information about the vlc-commits
mailing list