[vlc-devel] commit: Removed useless check on input b_eof flag while waiting for decoder 's fifos. (Laurent Aimar )
git version control
git at videolan.org
Mon Sep 14 23:27:58 CEST 2009
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Sep 14 21:05:09 2009 +0200| [dd2980838218267ab99aa4bc6730bb96f33c1b53] | committer: Laurent Aimar
Removed useless check on input b_eof flag while waiting for decoder's fifos.
p_input->b_eof cannot be true at this stage.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dd2980838218267ab99aa4bc6730bb96f33c1b53
---
src/input/input.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/input/input.c b/src/input/input.c
index 182fdeb..740b607 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -788,7 +788,7 @@ static void MainLoop( input_thread_t *p_input )
i_wakeup = es_out_GetWakeup( p_input->p->p_es_out );
}
- else if( !p_input->b_eof && !es_out_GetEmpty( p_input->p->p_es_out ) )
+ else if( !es_out_GetEmpty( p_input->p->p_es_out ) )
{
msg_Dbg( p_input, "waiting decoder fifos to empty" );
i_wakeup = mdate() + INPUT_IDLE_SLEEP;
More information about the vlc-devel
mailing list