Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
c521391d
Commit
c521391d
authored
May 31, 2010
by
Juho Vähä-Herttua
Committed by
Ilkka Ollakka
May 31, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
os x: fix preferences to leave x264 preset/tune empty
Signed-off-by:
Ilkka Ollakka
<
ileoo@videolan.org
>
parent
3ab102eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
modules/gui/macosx/prefs_widgets.m
modules/gui/macosx/prefs_widgets.m
+10
-2
No files found.
modules/gui/macosx/prefs_widgets.m
View file @
c521391d
...
...
@@ -1074,9 +1074,13 @@ o_textfield = [[[NSSecureTextField alloc] initWithFrame: s_rc] retain]; \
-
2
,
0
,
o_textfieldTooltip
)
[
o_combo
setAutoresizingMask
:
NSViewWidthSizable
];
for
(
i_index
=
0
;
i_index
<
p_item
->
i_list
;
i_index
++
)
if
(
p_item
->
value
.
psz
&&
p_item
->
ppsz_list
[
i_index
]
&&
{
if
(
!
p_item
->
value
.
psz
&&
!
p_item
->
ppsz_list
[
i_index
]
)
[
o_combo
selectItemAtIndex
:
i_index
];
else
if
(
p_item
->
value
.
psz
&&
p_item
->
ppsz_list
[
i_index
]
&&
!
strcmp
(
p_item
->
value
.
psz
,
p_item
->
ppsz_list
[
i_index
]
)
)
[
o_combo
selectItemAtIndex
:
i_index
];
}
[
self
addSubview
:
o_combo
];
}
return
self
;
...
...
@@ -1118,9 +1122,13 @@ o_textfield = [[[NSSecureTextField alloc] initWithFrame: s_rc] retain]; \
char
*
psz_value
=
config_GetPsz
(
VLCIntf
,
p_item
->
psz_name
);
for
(
i_index
=
0
;
i_index
<
p_item
->
i_list
;
i_index
++
)
if
(
psz_value
&&
p_item
->
ppsz_list
[
i_index
]
&&
{
if
(
!
psz_value
&&
!
p_item
->
ppsz_list
[
i_index
]
)
[
o_combo
selectItemAtIndex
:
i_index
];
else
if
(
psz_value
&&
p_item
->
ppsz_list
[
i_index
]
&&
!
strcmp
(
psz_value
,
p_item
->
ppsz_list
[
i_index
]
)
)
[
o_combo
selectItemAtIndex
:
i_index
];
}
free
(
psz_value
);
[
super
resetValues
];
...
...
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