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
ae74d5ad
Commit
ae74d5ad
authored
Sep 20, 2006
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fix selection of Adjust filter. On the fly changes are still broken
parent
9effad54
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
18 deletions
+17
-18
modules/gui/macosx/extended.m
modules/gui/macosx/extended.m
+17
-18
No files found.
modules/gui/macosx/extended.m
View file @
ae74d5ad
...
...
@@ -127,7 +127,21 @@ static VLCExtended *_o_sharedInstance = nil;
char
*
psz_vfilters
;
intf_thread_t
*
p_intf
=
VLCIntf
;
psz_vfilters
=
config_GetPsz
(
p_intf
,
"vout-filter"
);
if
(
psz_vfilters
&&
strstr
(
psz_vfilters
,
"adjust"
)
)
/* set the video-filter-checkboxes to the correct values */
if
(
psz_vfilters
)
{
[
o_ckb_blur
setState
:
(
int
)
strstr
(
psz_vfilters
,
"motionblur"
)];
[
o_ckb_imgClone
setState
:
(
int
)
strstr
(
psz_vfilters
,
"clone"
)];
[
o_ckb_imgCrop
setState
:
(
int
)
strstr
(
psz_vfilters
,
"crop"
)];
[
o_ckb_trnsform
setState
:
(
int
)
strstr
(
psz_vfilters
,
"transform"
)];
free
(
psz_vfilters
);
}
/* set the video-filter checkboxes to the correct values */
char
*
psz_vifilters
;
psz_vifilters
=
config_GetPsz
(
p_intf
,
"video-filter"
);
if
(
psz_vifilters
&&
strstr
(
psz_vifilters
,
"adjust"
)
)
{
[
o_ckb_enblAdjustImg
setState
:
NSOnState
];
[
o_btn_rstrDefaults
setEnabled
:
YES
];
...
...
@@ -147,21 +161,6 @@ static VLCExtended *_o_sharedInstance = nil;
[
o_sld_hue
setEnabled
:
NO
];
[
o_sld_saturation
setEnabled
:
NO
];
}
/* set the other video-filter-checkboxes to the correct values */
if
(
psz_vfilters
)
{
[
o_ckb_blur
setState
:
(
int
)
strstr
(
psz_vfilters
,
"motionblur"
)];
[
o_ckb_imgClone
setState
:
(
int
)
strstr
(
psz_vfilters
,
"clone"
)];
[
o_ckb_imgCrop
setState
:
(
int
)
strstr
(
psz_vfilters
,
"crop"
)];
[
o_ckb_trnsform
setState
:
(
int
)
strstr
(
psz_vfilters
,
"transform"
)];
free
(
psz_vfilters
);
}
/* set the video-filter checkboxes to the correct values */
char
*
psz_vifilters
;
psz_vifilters
=
config_GetPsz
(
p_intf
,
"video-filter"
);
if
(
psz_vifilters
)
{
[
o_ckb_wave
setState
:
(
int
)
strstr
(
psz_vifilters
,
"wave"
)];
...
...
@@ -271,7 +270,7 @@ static VLCExtended *_o_sharedInstance = nil;
[
o_sld_gamma
setEnabled
:
YES
];
[
o_sld_hue
setEnabled
:
YES
];
[
o_sld_saturation
setEnabled
:
YES
];
[
self
changeV
out
FiltersString
:
"adjust"
onOrOff
:
VLC_TRUE
];
[
self
changeV
ideo
FiltersString
:
"adjust"
onOrOff
:
VLC_TRUE
];
}
else
{
[
o_btn_rstrDefaults
setEnabled
:
NO
];
[
o_sld_brightness
setEnabled
:
NO
];
...
...
@@ -279,7 +278,7 @@ static VLCExtended *_o_sharedInstance = nil;
[
o_sld_gamma
setEnabled
:
NO
];
[
o_sld_hue
setEnabled
:
NO
];
[
o_sld_saturation
setEnabled
:
NO
];
[
self
changeV
out
FiltersString
:
"adjust"
onOrOff
:
VLC_FALSE
];
[
self
changeV
ideo
FiltersString
:
"adjust"
onOrOff
:
VLC_FALSE
];
}
}
...
...
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