Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
c16efd6c
Commit
c16efd6c
authored
Jul 13, 2004
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Couple of fixes
parent
421866e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
7 deletions
+14
-7
modules/gui/wxwindows/extrapanel.cpp
modules/gui/wxwindows/extrapanel.cpp
+14
-7
No files found.
modules/gui/wxwindows/extrapanel.cpp
View file @
c16efd6c
...
...
@@ -604,15 +604,24 @@ void ExtraPanel::OnEqRestore( wxCommandEvent &event )
VLC_OBJECT_AOUT
,
FIND_ANYWHERE
);
if
(
p_aout
==
NULL
)
{
config_PutFloat
(
p_intf
,
"equalizer-preamp"
,
0.0
);
vlc_value_t
val
;
vlc_bool_t
b_previous
=
eq_chkbox
->
IsChecked
();
val
.
f_float
=
12.0
;
IntfPreampCallback
(
NULL
,
NULL
,
val
,
val
,
this
);
config_PutFloat
(
p_intf
,
"equalizer-preamp"
,
12.0
);
val
.
psz_string
=
strdup
(
"0 0 0 0 0 0 0 0 0 0"
);
IntfBandsCallback
(
NULL
,
NULL
,
val
,
val
,
this
);
config_PutPsz
(
p_intf
,
"equalizer-bands"
,
"0 0 0 0 0 0 0 0 0 0"
);
"0 0 0 0 0 0 0 0 0 0"
);
config_PutPsz
(
p_intf
,
"equalizer-preset"
,
"flat"
);
eq_chkbox
->
SetValue
(
b_previous
);
}
else
{
var_SetFloat
(
p_aout
,
"equalizer-preamp"
,
0.0
);
var_SetString
(
p_aout
,
"equalizer-bands"
,
"0 0 0 0 0 0 0 0 0 0"
);
"0 0 0 0 0 0 0 0 0 0"
);
var_SetString
(
p_aout
,
"equalizer-preset"
,
"flat"
);
vlc_object_release
(
p_aout
);
}
}
...
...
@@ -900,8 +909,8 @@ void ExtraPanel::OnFiltersInfo(wxCommandEvent& event)
wxMessageBox
(
wxU
(
_
(
"Select the video effects filters to apply. "
"You must restart the stream for these settings to "
"take effect.
\n
"
"To configure the filters, go to the Preferences,
enable
"
"
the advanced options, and go t
o to Modules/Video Filters. "
"To configure the filters, go to the Preferences, "
"
and g
o to Modules/Video Filters. "
"You can then configure each filter.
\n
"
"If you want fine control over the filters ( to choose "
"the order in which they are applied ), you need to enter "
...
...
@@ -993,7 +1002,6 @@ static void ChangeVFiltersString( intf_thread_t *p_intf,
}
}
/* Vout is not kept, so put that in the config */
//fprintf(stderr,"\nNow : %s",psz_string );
config_PutPsz
(
p_intf
,
"filter"
,
psz_string
);
free
(
psz_string
);
}
...
...
@@ -1051,7 +1059,6 @@ static void ChangeFiltersString( intf_thread_t *p_intf,
return
;
}
}
fprintf
(
stderr
,
"
\n
SETTING %s
\n
"
,
psz_string
);
if
(
p_aout
==
NULL
)
{
...
...
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