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
2426d13b
Commit
2426d13b
authored
Mar 10, 2013
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: replace avcodec-hw hack by proper settings
parent
be1b32c8
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
234 additions
and
82 deletions
+234
-82
extras/package/macosx/Resources/English.lproj/Preferences.xib
...as/package/macosx/Resources/English.lproj/Preferences.xib
+229
-71
modules/gui/macosx/simple_prefs.h
modules/gui/macosx/simple_prefs.h
+2
-1
modules/gui/macosx/simple_prefs.m
modules/gui/macosx/simple_prefs.m
+3
-10
No files found.
extras/package/macosx/Resources/English.lproj/Preferences.xib
View file @
2426d13b
This diff is collapsed.
Click to expand it.
modules/gui/macosx/simple_prefs.h
View file @
2426d13b
...
...
@@ -77,7 +77,8 @@
IBOutlet
id
o_input_httpproxypwd_txt
;
IBOutlet
id
o_input_mux_box
;
IBOutlet
id
o_input_net_box
;
IBOutlet
id
o_input_avcodec_hw_ckb
;
IBOutlet
id
o_input_avcodec_hw_txt
;
IBOutlet
id
o_input_avcodec_hw_pop
;
IBOutlet
id
o_input_postproc_fld
;
IBOutlet
id
o_input_postproc_txt
;
IBOutlet
id
o_input_rtsp_ckb
;
...
...
modules/gui/macosx/simple_prefs.m
View file @
2426d13b
...
...
@@ -209,7 +209,7 @@ create_toolbar_item(NSString * o_itemIdent, NSString * o_name, NSString * o_desc
[
o_input_httpproxypwd_txt
setStringValue
:
_NS
(
"Password for HTTP Proxy"
)];
[
o_input_mux_box
setTitle
:
_NS
(
"Codecs / Muxers"
)];
[
o_input_net_box
setTitle
:
_NS
(
"Network"
)];
[
o_input_avcodec_hw_
ckb
setTitl
e
:
_NS
(
"Hardware Acceleration"
)];
[
o_input_avcodec_hw_
txt
setStringValu
e
:
_NS
(
"Hardware Acceleration"
)];
[
o_input_postproc_txt
setStringValue
:
_NS
(
"Post-Processing Quality"
)];
[
o_input_rtsp_ckb
setTitle
:
_NS
(
"Use RTP over RTSP (TCP)"
)];
[
o_input_skipLoop_txt
setStringValue
:
_NS
(
"Skip the loop filter for H.264 decoding"
)];
...
...
@@ -552,11 +552,7 @@ 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_avcodec_hw_pop
forModuleList
:
"avcodec-hw"
];
[
self
setupButton
:
o_input_avi_pop
forIntList
:
"avi-index"
];
...
...
@@ -893,10 +889,7 @@ static inline void save_module_list(intf_thread_t * p_intf, id object, const cha
SaveIntList
(
o_input_avi_pop
,
"avi-index"
);
config_PutInt
(
p_intf
,
"rtsp-tcp"
,
[
o_input_rtsp_ckb
state
]);
if
([
o_input_avcodec_hw_ckb
state
])
config_PutPsz
(
p_intf
,
"avcodec-hw"
,
"vdadecoder"
);
else
config_PutPsz
(
p_intf
,
"avcodec-hw"
,
""
);
SaveModuleList
(
o_input_avcodec_hw_pop
,
"avcodec-hw"
);
SaveIntList
(
o_input_skipLoop_pop
,
"avcodec-skiploopfilter"
);
config_PutInt
(
p_intf
,
"mkv-preload-local-dir"
,
[
o_input_mkv_preload_dir_ckb
state
]);
...
...
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