Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
82692c40
Commit
82692c40
authored
Mar 06, 2013
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: fix crash if 'avcodec-hw' isn't set
parent
72a86d89
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
modules/gui/macosx/simple_prefs.m
modules/gui/macosx/simple_prefs.m
+4
-1
No files found.
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
...
@@ -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"
];
[
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
setIntValue
:
config_GetInt
(
p_intf
,
"postproc-q"
)];
[
o_input_postproc_fld
setToolTip
:
_NS
(
config_GetLabel
(
p_intf
,
"postproc-q"
))];
[
o_input_postproc_fld
setToolTip
:
_NS
(
config_GetLabel
(
p_intf
,
"postproc-q"
))];
[
o_input_avcodec_hw_ckb
setState
:
!
strcmp
(
config_GetPsz
(
p_intf
,
"avcodec-hw"
),
"vdadecoder"
)];
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"
)
?:
""
)];
[
o_input_avcodec_hw_ckb
setToolTip
:
_NS
(
config_GetLabel
(
p_intf
,
"avcodec-hw"
)
?:
""
)];
[
self
setupButton
:
o_input_avi_pop
forIntList
:
"avi-index"
];
[
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