Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
205a9fa8
Commit
205a9fa8
authored
Aug 09, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
audio_output: Add a missing lock.
parent
3435a2b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/audio_output/dec.c
src/audio_output/dec.c
+2
-0
No files found.
src/audio_output/dec.c
View file @
205a9fa8
...
...
@@ -105,6 +105,7 @@ static aout_input_t * DecNew( vlc_object_t * p_this, aout_instance_t * p_aout,
if
(
p_replay_gain
)
p_input
->
replay_gain
=
*
p_replay_gain
;
vlc_mutex_lock
(
&
p_aout
->
input_fifos_lock
);
p_aout
->
pp_inputs
[
p_aout
->
i_nb_inputs
]
=
p_input
;
p_aout
->
i_nb_inputs
++
;
...
...
@@ -149,6 +150,7 @@ static aout_input_t * DecNew( vlc_object_t * p_this, aout_instance_t * p_aout,
}
aout_InputNew
(
p_aout
,
p_input
);
vlc_mutex_unlock
(
&
p_aout
->
input_fifos_lock
);
vlc_mutex_unlock
(
&
p_aout
->
mixer_lock
);
p_input
->
i_desync
=
var_CreateGetInteger
(
p_this
,
"audio-desync"
)
*
1000
;
...
...
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