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
feb33ac8
Commit
feb33ac8
authored
May 18, 2002
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* fixed deadlock in NextFrame() in aout_pcm.c
parent
885583cc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
src/audio_output/aout_ext-dec.c
src/audio_output/aout_ext-dec.c
+3
-1
src/audio_output/aout_pcm.c
src/audio_output/aout_pcm.c
+6
-1
No files found.
src/audio_output/aout_ext-dec.c
View file @
feb33ac8
...
...
@@ -2,7 +2,7 @@
* aout_ext-dec.c : exported fifo management functions
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: aout_ext-dec.c,v 1.1
4 2002/03/26 23:08:40
gbazin Exp $
* $Id: aout_ext-dec.c,v 1.1
5 2002/05/18 15:51:37
gbazin Exp $
*
* Authors: Michel Kaempf <maxx@via.ecp.fr>
* Cyril Deguet <asmax@via.ecp.fr>
...
...
@@ -184,7 +184,9 @@ void aout_DestroyFifo( aout_fifo_t * p_fifo )
{
intf_WarnMsg
(
2
,
"aout info: fifo #%i destroyed"
,
p_fifo
->
i_fifo
);
vlc_mutex_lock
(
&
p_fifo
->
data_lock
);
p_fifo
->
b_die
=
1
;
vlc_mutex_unlock
(
&
p_fifo
->
data_lock
);
}
/*****************************************************************************
...
...
src/audio_output/aout_pcm.c
View file @
feb33ac8
...
...
@@ -2,7 +2,7 @@
* aout_pcm.c: PCM audio output functions
*****************************************************************************
* Copyright (C) 1999-2002 VideoLAN
* $Id: aout_pcm.c,v 1.
4 2002/04/30 12:56:11
gbazin Exp $
* $Id: aout_pcm.c,v 1.
5 2002/05/18 15:51:37
gbazin Exp $
*
* Authors: Michel Kaempf <maxx@via.ecp.fr>
* Cyril Deguet <asmax@via.ecp.fr>
...
...
@@ -300,6 +300,11 @@ static int NextFrame( aout_thread_t * p_aout, aout_fifo_t * p_fifo,
/* We take the lock */
vlc_mutex_lock
(
&
p_fifo
->
data_lock
);
if
(
p_fifo
->
b_die
)
{
vlc_mutex_unlock
(
&
p_fifo
->
data_lock
);
return
(
-
1
);
}
/* Are we looking for a dated start frame ? */
if
(
!
p_fifo
->
b_start_frame
)
...
...
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