vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Thu Dec 10 20:31:06 2015 +0200| [1e30d40c475ed07f6ab86b9bb1ecb3d26bbac851] | committer: Rémi Denis-Courmont
decoder: reset preroll on flush We don´t want to discard decoded data if seeking during prefoll then the timestamps restart from lower values. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1e30d40c475ed07f6ab86b9bb1ecb3d26bbac851 --- src/input/decoder.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/input/decoder.c b/src/input/decoder.c index dd15e69..91f1b51 100644 --- a/src/input/decoder.c +++ b/src/input/decoder.c @@ -1396,6 +1396,10 @@ static void DecoderProcessFlush( decoder_t *p_dec ) vlc_object_release( p_vout ); } } + + vlc_mutex_lock( &p_owner->lock ); + p_owner->i_preroll_end = INT64_MIN; + vlc_mutex_unlock( &p_owner->lock ); } /** _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
