[vlc-commits] input: decoder: notify discontinuity on fifo drop
Francois Cartegnie
git at videolan.org
Wed Jan 31 13:55:43 CET 2018
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | 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
More information about the vlc-commits
mailing list