vlc/vlc-3.0 | branch: master | Francois Cartegnie <fcvlc...@free.fr> | Wed Jan 
31 11:27:36 2018 +0100| [06fd6c9d1381bd73404c940ee3c6de55ddc343dc] | committer: 
Jean-Baptiste Kempf

input: decoder: notify discontinuity on fifo drop

(cherry picked from commit bbac7da531a09d334e5c93fc53c446f48d497f33)
Signed-off-by: Jean-Baptiste Kempf <j...@videolan.org>

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

 src/input/decoder.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/input/decoder.c b/src/input/decoder.c
index 58bbe8e851..c5ec930b2a 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -2034,6 +2034,7 @@ void input_DecoderDecode( decoder_t *p_dec, block_t 
*p_block, bool b_do_pace )
             msg_Warn( p_dec, "decoder/packetizer fifo full (data not "
                       "consumed quickly enough), resetting fifo!" );
             block_ChainRelease( vlc_fifo_DequeueAllUnlocked( p_owner->p_fifo ) 
);
+            p_block->i_flags |= BLOCK_FLAG_DISCONTINUITY;
         }
     }
     else

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to