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
b0936ef9
Commit
b0936ef9
authored
Aug 25, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Let equalizer-2pass handle the reset of the equalizer in qt4.
It avoids a race condition with aout_input_t contents.
parent
8e7f4470
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
modules/gui/qt4/components/extended_panels.cpp
modules/gui/qt4/components/extended_panels.cpp
+2
-8
No files found.
modules/gui/qt4/components/extended_panels.cpp
View file @
b0936ef9
...
...
@@ -952,18 +952,12 @@ void Equalizer::set2Pass()
aout_instance_t
*
p_aout
=
THEMIM
->
getAout
();
bool
b_2p
=
ui
.
eq2PassCheck
->
isChecked
();
if
(
p_aout
==
NULL
)
config_PutInt
(
p_intf
,
"equalizer-2pass"
,
b_2p
);
else
if
(
p_aout
)
{
var_SetBool
(
p_aout
,
"equalizer-2pass"
,
b_2p
);
config_PutInt
(
p_intf
,
"equalizer-2pass"
,
b_2p
);
for
(
int
i
=
0
;
i
<
p_aout
->
i_nb_inputs
;
i
++
)
{
p_aout
->
pp_inputs
[
i
]
->
b_restart
=
true
;
}
vlc_object_release
(
p_aout
);
}
config_PutInt
(
p_intf
,
"equalizer-2pass"
,
b_2p
);
}
/* Function called when the preamp slider is moved */
...
...
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