[vlc-commits] aout: set discontinuity after a flush
Thomas Guillem
git at videolan.org
Fri Feb 1 13:50:23 CET 2019
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Jan 30 11:42:59 2019 +0100| [3e9baa6e894ec470d8d6a4f283b878a3fa7cd306] | committer: Thomas Guillem
aout: set discontinuity after a flush
This commit doesn't have any impact on pulse, since a flush will cause the next
play to be differed.
This commit fixes the "playback way too early" with other modules, like asla,
when flushing with an audio delay.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3e9baa6e894ec470d8d6a4f283b878a3fa7cd306
---
src/audio_output/dec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/audio_output/dec.c b/src/audio_output/dec.c
index 6feb574792..104d5cca82 100644
--- a/src/audio_output/dec.c
+++ b/src/audio_output/dec.c
@@ -441,4 +441,5 @@ void aout_DecFlush (audio_output_t *aout, bool wait)
aout->flush(aout, wait);
}
+ owner->sync.discontinuity = true;
}
More information about the vlc-commits
mailing list