[vlc-commits] macosx: fix subtitles drag and drop (close #8477)

Felix Paul Kühne git at videolan.org
Wed Apr 24 16:16:06 CEST 2013


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed Apr 24 16:15:32 2013 +0200| [fcf5b3da68087af449402ce45bcd1ea034086930] | committer: Felix Paul Kühne

macosx: fix subtitles drag and drop (close #8477)

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

 modules/gui/macosx/CoreInteraction.m |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/CoreInteraction.m b/modules/gui/macosx/CoreInteraction.m
index 9dc4c79..15378b9 100644
--- a/modules/gui/macosx/CoreInteraction.m
+++ b/modules/gui/macosx/CoreInteraction.m
@@ -566,7 +566,7 @@ static VLCCoreInteraction *_o_sharedInstance = nil;
             BOOL b_returned = NO;
 
             if (count == 1 && p_input) {
-                b_returned = input_AddSubtitle(p_input, vlc_path2uri([[o_values objectAtIndex:0] UTF8String], NULL), true);
+                b_returned = input_AddSubtitle(p_input, [[o_values objectAtIndex:0] UTF8String], true);
                 vlc_object_release(p_input);
                 if (!b_returned)
                     return YES;



More information about the vlc-commits mailing list