[vlc-devel] [PATCH 1/4] aout: set discontinuity after a flush
Thomas Guillem
thomas at gllm.fr
Wed Jan 30 12:28:10 CET 2019
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 a audio delay.
---
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;
}
--
2.20.1
More information about the vlc-devel
mailing list