[vlc-commits] aout: also flush filters when too late

Thomas Guillem git at videolan.org
Mon Mar 11 10:19:12 CET 2019


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Mar  7 09:27:50 2019 +0100| [455e05be97976703603d3752bebe29a0ed4070d8] | committer: Thomas Guillem

aout: also flush filters when too late

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=455e05be97976703603d3752bebe29a0ed4070d8
---

 src/audio_output/dec.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/audio_output/dec.c b/src/audio_output/dec.c
index d74d3b4a93..cde1caaef9 100644
--- a/src/audio_output/dec.c
+++ b/src/audio_output/dec.c
@@ -270,10 +270,8 @@ void aout_RequestRetiming(audio_output_t *aout, vlc_tick_t system_ts,
         else
             msg_Dbg (aout, "playback too late (%"PRId64"): "
                      "flushing buffers", drift);
-        aout->flush(aout, false);
-
+        aout_DecFlush(aout, false);
         aout_StopResampling (aout);
-        owner->sync.discontinuity = true;
 
         return; /* nothing can be done if timing is unknown */
 }



More information about the vlc-commits mailing list