[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
Fri Oct 23 23:14:53 CEST 2009


vlc | branch: 1.0-bugfix | Laurent Aimar <fenrir at videolan.org> | Mon Sep 14 21:05:09 2009 +0200| [d059833362347324a3d3240eeb4b95090d62a45a] | 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.
(cherry picked from commit dd2980838218267ab99aa4bc6730bb96f33c1b53)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d059833362347324a3d3240eeb4b95090d62a45a
---

 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 91f81dd..528a411 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -773,7 +773,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