[vlc-commits] Revert "decoder: fix signal call from input_DecoderFlush"

Thomas Guillem git at videolan.org
Thu Nov 19 10:52:44 CET 2015


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Nov 19 10:50:48 2015 +0100| [8f114b49f19039f5b43875e6800e57818094da8a] | committer: Thomas Guillem

Revert "decoder: fix signal call from input_DecoderFlush"

Decoder still need to be signaled when FIFO is already empty.

This reverts commit 32040fdcb8c8bbafb44e73bed15df0e69f78ff88.

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

 src/input/decoder.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/input/decoder.c b/src/input/decoder.c
index 38cafc2..f0efdbe 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -1881,10 +1881,9 @@ void input_DecoderFlush( decoder_t *p_dec )
      * to display one frame */
     if( p_owner->fmt.i_cat == VIDEO_ES && p_owner->paused
      && p_owner->frames_countdown == 0 )
-    {
         p_owner->frames_countdown++;
-        vlc_fifo_Signal( p_owner->p_fifo );
-    }
+
+    vlc_fifo_Signal( p_owner->p_fifo );
 
     vlc_fifo_Unlock( p_owner->p_fifo );
 }



More information about the vlc-commits mailing list