Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
82692c40
Commit
82692c40
authored
Mar 06, 2013
by
Felix Paul Kühne
Browse files
macosx: fix crash if 'avcodec-hw' isn't set
parent
72a86d89
Changes
1
Show whitespace changes
Inline
Side-by-side
modules/gui/macosx/simple_prefs.m
View file @
82692c40
...
...
@@ -545,7 +545,10 @@ static inline char * __config_GetLabel(vlc_object_t *p_this, const char *psz_nam
[
self
setupField
:
o_input_httpproxypwd_sfld
forOption
:
"http-proxy-pwd"
];
[
o_input_postproc_fld
setIntValue
:
config_GetInt
(
p_intf
,
"postproc-q"
)];
[
o_input_postproc_fld
setToolTip
:
_NS
(
config_GetLabel
(
p_intf
,
"postproc-q"
))];
if
(
config_GetPsz
(
p_intf
,
"avcodec-hw"
))
[
o_input_avcodec_hw_ckb
setState
:
!
strcmp
(
config_GetPsz
(
p_intf
,
"avcodec-hw"
),
"vdadecoder"
)];
else
[
o_input_avcodec_hw_ckb
setState
:
NSOffState
];
[
o_input_avcodec_hw_ckb
setToolTip
:
_NS
(
config_GetLabel
(
p_intf
,
"avcodec-hw"
)
?:
""
)];
[
self
setupButton
:
o_input_avi_pop
forIntList
:
"avi-index"
];
...
...
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