[vlc-commits] input: decoder: notify discontinuity on fifo drop
vlc/vlc-3.0 | branch: master | Francois Cartegnie | 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 > 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
[vlc-commits] input: decoder: notify discontinuity on fifo drop
vlc | branch: master | Francois Cartegnie | Wed Jan 31 11:27:36 2018 +0100| [bbac7da531a09d334e5c93fc53c446f48d497f33] | committer: Francois Cartegnie input: decoder: notify discontinuity on fifo drop > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bbac7da531a09d334e5c93fc53c446f48d497f33 --- src/input/decoder.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/input/decoder.c b/src/input/decoder.c index 170d355f2e..6bcadfcbc8 100644 --- a/src/input/decoder.c +++ b/src/input/decoder.c @@ -2037,6 +2037,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