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
a82e5fca
Commit
a82e5fca
authored
Jul 09, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed infinite loop if alsa was closed before playing any audio.
parent
5f2b369c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
modules/audio_output/alsa.c
modules/audio_output/alsa.c
+4
-1
No files found.
modules/audio_output/alsa.c
View file @
a82e5fca
...
...
@@ -730,12 +730,15 @@ static void Close( vlc_object_t *p_this )
struct
aout_sys_t
*
p_sys
=
p_aout
->
output
.
p_sys
;
int
i_snd_rc
;
/* Make sure that the thread will stop once it is waken up */
vlc_object_kill
(
p_aout
);
/* make sure the audio output thread is waken up */
vlc_mutex_lock
(
&
p_aout
->
output
.
p_sys
->
lock
);
vlc_cond_signal
(
&
p_aout
->
output
.
p_sys
->
wait
);
vlc_mutex_unlock
(
&
p_aout
->
output
.
p_sys
->
lock
);
vlc_object_kill
(
p_aout
);
/* */
vlc_thread_join
(
p_aout
);
p_aout
->
b_die
=
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