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
1d525b68
Commit
1d525b68
authored
Jan 01, 2002
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete a remaining ErrorThread :p.
parent
f94587bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
30 deletions
+0
-30
plugins/mad_adec/mad_adec.c
plugins/mad_adec/mad_adec.c
+0
-30
No files found.
plugins/mad_adec/mad_adec.c
View file @
1d525b68
...
@@ -228,36 +228,6 @@ static int InitThread( mad_adec_thread_t * p_mad_adec )
...
@@ -228,36 +228,6 @@ static int InitThread( mad_adec_thread_t * p_mad_adec )
}
}
/*****************************************************************************
* mad_adec_ErrorThread : mad decoder's RunThread() error loop
*****************************************************************************/
static
void
mad_adec_ErrorThread
(
mad_adec_thread_t
*
p_mad_adec
)
{
/* We take the lock, because we are going to read/write the start/end
* indexes of the decoder fifo */
vlc_mutex_lock
(
&
p_mad_adec
->
p_fifo
->
data_lock
);
/* Wait until a `die' order is sent */
while
(
!
p_mad_adec
->
p_fifo
->
b_die
)
{
/* Trash all received PES packets */
while
(
!
DECODER_FIFO_ISEMPTY
(
*
p_mad_adec
->
p_fifo
))
{
p_mad_adec
->
p_fifo
->
pf_delete_pes
(
p_mad_adec
->
p_fifo
->
p_packets_mgt
,
DECODER_FIFO_START
(
*
p_mad_adec
->
p_fifo
));
DECODER_FIFO_INCSTART
(
*
p_mad_adec
->
p_fifo
);
}
/* Waiting for the input thread to put new PES packets in the fifo */
vlc_cond_wait
(
&
p_mad_adec
->
p_fifo
->
data_wait
,
&
p_mad_adec
->
p_fifo
->
data_lock
);
}
/* We can release the lock before leaving */
vlc_mutex_unlock
(
&
p_mad_adec
->
p_fifo
->
data_lock
);
}
/*****************************************************************************
/*****************************************************************************
* mad_adec_EndThread : libmad decoder thread destruction
* mad_adec_EndThread : libmad decoder thread destruction
*****************************************************************************/
*****************************************************************************/
...
...
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