[vlc-commits] opensles: properly reset latency counter on Flush
Rafaël Carré
git at videolan.org
Sat Dec 15 14:45:48 CET 2012
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sat Dec 15 12:31:58 2012 +0100| [50d250ab04c921155c10422d9bd20c1191b3a396] | committer: Rafaël Carré
opensles: properly reset latency counter on Flush
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=50d250ab04c921155c10422d9bd20c1191b3a396
---
modules/audio_output/opensles_android.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/audio_output/opensles_android.c b/modules/audio_output/opensles_android.c
index 6b4af8f..c639eec 100644
--- a/modules/audio_output/opensles_android.c
+++ b/modules/audio_output/opensles_android.c
@@ -127,6 +127,7 @@ static void Flush(audio_output_t *p_aout, bool wait)
block_ChainRelease( p_sys->p_chain );
p_sys->p_chain = NULL;
p_sys->pp_last = &p_sys->p_chain;
+ p_sys->length = 0;
vlc_mutex_unlock( &p_sys->lock );
}
More information about the vlc-commits
mailing list