[vlc-commits] wasapi: fix typo screwing up synchro

Rémi Denis-Courmont git at videolan.org
Thu Nov 15 17:09:49 CET 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Nov 15 18:09:26 2012 +0200| [c32e21fce71718d107e8a2ef55f9dfa2b7b2f088] | committer: Rémi Denis-Courmont

wasapi: fix typo screwing up synchro

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

 modules/audio_output/wasapi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/audio_output/wasapi.c b/modules/audio_output/wasapi.c
index 84009ac..1b001cd 100644
--- a/modules/audio_output/wasapi.c
+++ b/modules/audio_output/wasapi.c
@@ -162,7 +162,7 @@ static int TimeGet(audio_output_t *aout, mtime_t *restrict pts)
     mtime_t delay =  ((GetQPC() - qpcpos) / (10000000 / CLOCK_FREQ));
     static_assert((10000000 % CLOCK_FREQ) == 0, "Frequency conversion broken");
 
-    *pts += mdate() + delay;
+    *pts = mdate() + delay;
     return 0;
 }
 



More information about the vlc-commits mailing list