Commit 1db8de5a authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* Fix an OSX only issue with accents and other weird chars in subtitle...

* Fix an OSX only issue with accents and other weird chars in subtitle filenames when using the "forced" method.
parent d8fc9a87
...@@ -323,7 +323,7 @@ static VLCOpen *_o_sharedMainInstance = nil; ...@@ -323,7 +323,7 @@ static VLCOpen *_o_sharedMainInstance = nil;
intf_thread_t * p_intf = VLCIntf; intf_thread_t * p_intf = VLCIntf;
module_config_t * p_item; module_config_t * p_item;
[o_options addObject: [NSString stringWithFormat: @"sub-file=%s", [[o_file_sub_path stringValue] fileSystemRepresentation]]]; [o_options addObject: [NSString stringWithFormat: @"sub-file=%@", [o_file_sub_path stringValue]]];
if( [o_file_sub_override state] == NSOnState ) if( [o_file_sub_override state] == NSOnState )
{ {
[o_options addObject: [NSString stringWithFormat: @"sub-delay=%i", (int)( [o_file_sub_delay intValue] * 10 )]]; [o_options addObject: [NSString stringWithFormat: @"sub-delay=%i", (int)( [o_file_sub_delay intValue] * 10 )]];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment