vlc | branch: master | Thomas Guillem <[email protected]> | Mon Mar 18 11:30:32 2019 +0100| [6e42c4cb607b7922dcd6f7f8abd586fc6db16ca8] | committer: Thomas Guillem
es_out: add missing clock delete in case of failure > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6e42c4cb607b7922dcd6f7f8abd586fc6db16ca8 --- src/input/es_out.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/input/es_out.c b/src/input/es_out.c index 2630b011cf..3352602849 100644 --- a/src/input/es_out.c +++ b/src/input/es_out.c @@ -1841,6 +1841,11 @@ static void EsOutCreateDecoder( es_out_t *out, es_out_id_t *p_es ) input_DecoderSetVoutMouseEvent( dec, p_es->mouse_event_cb, p_es->mouse_event_userdata ); } + else + { + vlc_clock_Delete( p_es->p_clock ); + p_es->p_clock = NULL; + } p_es->p_dec = dec; EsOutDecoderChangeDelay( out, p_es ); _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
