[vlc-devel] [PATCH] decoder: flush the vout before flushing the decoder
Thomas Guillem
thomas at gllm.fr
Mon Nov 30 10:25:24 CET 2015
---
src/input/decoder.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/input/decoder.c b/src/input/decoder.c
index 0f08198..c25a130 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -1278,6 +1278,10 @@ static void DecoderProcessFlush( decoder_t *p_dec )
if( p_packetizer != NULL && p_packetizer->pf_flush != NULL )
p_packetizer->pf_flush( p_packetizer );
+ /* see vout_Flush comment in input_DecoderDelete() */
+ if( p_owner->p_vout )
+ vout_Flush( p_owner->p_vout, VLC_TS_INVALID+1 );
+
if ( p_dec->pf_flush != NULL )
p_dec->pf_flush( p_dec );
else
--
2.1.4
More information about the vlc-devel
mailing list