[vlc-commits] macosx: enable selection of subtitles named *.txt or *. smil through the Video menu

Felix Paul Kühne git at videolan.org
Sun Jan 30 17:12:36 CET 2011


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Jan 30 17:12:26 2011 +0100| [dcf4d5b4e16e18a53e56d4a3ac2ae63bfc1c5ace] | committer: Felix Paul Kühne

macosx: enable selection of subtitles named *.txt or *.smil through the Video menu

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dcf4d5b4e16e18a53e56d4a3ac2ae63bfc1c5ace
---

 modules/gui/macosx/controls.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/macosx/controls.m b/modules/gui/macosx/controls.m
index cad7240..9396667 100644
--- a/modules/gui/macosx/controls.m
+++ b/modules/gui/macosx/controls.m
@@ -584,7 +584,7 @@
     [openPanel setCanChooseFiles: YES];
     [openPanel setCanChooseDirectories: NO];
     [openPanel setAllowsMultipleSelection: YES];
-    i_returnValue = [openPanel runModalForDirectory: [NSString stringWithUTF8String: path] file: nil types: [NSArray arrayWithObjects: @"cdg",@"@idx",@"srt",@"sub",@"utf",@"ass",@"ssa",@"aqt",@"jss",@"psb",@"rt",@"smi", nil]];
+    i_returnValue = [openPanel runModalForDirectory: [NSString stringWithUTF8String: path] file: nil types: [NSArray arrayWithObjects: @"cdg",@"@idx",@"srt",@"sub",@"utf",@"ass",@"ssa",@"aqt",@"jss",@"psb",@"rt",@"smi",@"txt",@"smil", nil]];
     free( path );
 
     if( i_returnValue == NSOKButton )



More information about the vlc-commits mailing list