Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
7a4202c7
Commit
7a4202c7
authored
Aug 29, 2004
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* fix text encoding of subtitle filenames (and other paths).
parent
02ab7567
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
+12
-3
modules/gui/macosx/open.m
modules/gui/macosx/open.m
+1
-1
modules/gui/macosx/prefs.m
modules/gui/macosx/prefs.m
+10
-1
modules/gui/macosx/prefs_widgets.m
modules/gui/macosx/prefs_widgets.m
+1
-1
No files found.
modules/gui/macosx/open.m
View file @
7a4202c7
...
...
@@ -237,7 +237,7 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class )
o_dic
=
[
NSMutableDictionary
dictionaryWithObject
:
[
o_mrl
stringValue
]
forKey
:
@"ITEM_URL"
];
if
(
[
o_file_sub_ckbox
state
]
==
NSOnState
)
{
[
o_options
addObject
:
[
NSString
stringWithFormat
:
@"sub-file=%s"
,
[[
o_file_sub_path
stringValue
]
UTF8String
]]];
[
o_options
addObject
:
[
NSString
stringWithFormat
:
@"sub-file=%s"
,
[[
o_file_sub_path
stringValue
]
fileSystemRepresentation
]]];
if
(
[
o_file_sub_override
state
]
==
NSOnState
)
{
[
o_options
addObject
:
[
NSString
stringWithFormat
:
@"sub-delay=%i"
,
(
int
)(
[
o_file_sub_delay
intValue
]
*
10
)]];
...
...
modules/gui/macosx/prefs.m
View file @
7a4202c7
...
...
@@ -125,12 +125,21 @@
break
;
case
CONFIG_ITEM_STRING
:
{
char
*
psz_value
;
NSString
*
o_value
=
[
o_vlc_config
stringValue
];
psz_value
=
(
char
*
)[
o_value
UTF8String
];
config_PutPsz
(
p_intf
,
psz_name
,
psz_value
);
}
break
;
case
CONFIG_ITEM_FILE
:
case
CONFIG_ITEM_DIRECTORY
:
{
char
*
psz_value
;
NSString
*
o_value
=
[
o_vlc_config
stringValue
];
psz_value
=
(
char
*
)[
o_value
UTF8String
];
psz_value
=
(
char
*
)[
o_value
fileSystemRepresentation
];
config_PutPsz
(
p_intf
,
psz_name
,
psz_value
);
}
...
...
modules/gui/macosx/prefs_widgets.m
View file @
7a4202c7
...
...
@@ -649,7 +649,7 @@
-
(
char
*
)
stringValue
{
return
strdup
(
[
NSApp
delocalizeString
:
[
o_textfield
stringValue
]
]
);
return
strdup
(
[
[
o_textfield
stringValue
]
fileSystemRepresentation
]
);
}
@end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment