vlc | branch: master | Francois Cartegnie <[email protected]> | Wed May 17 17:13:14 2017 +0200| [8239cde8e7540c5c05057adfda8da758101e9ca7] | committer: Francois Cartegnie
input: decoder: missing CC sub decoders flush > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8239cde8e7540c5c05057adfda8da758101e9ca7 --- src/input/decoder.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/input/decoder.c b/src/input/decoder.c index ba5519373b..496d2a6de3 100644 --- a/src/input/decoder.c +++ b/src/input/decoder.c @@ -1429,6 +1429,17 @@ static void DecoderProcessFlush( decoder_t *p_dec ) if ( p_dec->pf_flush != NULL ) p_dec->pf_flush( p_dec ); + /* flush CC sub decoders */ + if( p_owner->cc.b_supported ) + { + for( int i=0; i<4; i++ ) + { + decoder_t *p_subdec = p_owner->cc.pp_decoder[i]; + if( p_subdec && p_subdec->pf_flush ) + p_subdec->pf_flush( p_subdec ); + } + } + #ifdef ENABLE_SOUT if ( p_owner->p_sout_input != NULL ) { _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
