[vlc-devel] [PATCH] MMDevice: fix crackling and libsync...

Jean-Baptiste Kempf jb at videolan.org
Thu Nov 28 12:22:39 CET 2013

On 28 Nov, Rémi Denis-Courmont wrote :
> On Thu, 28 Nov 2013 11:55:24 +0100, Jean-Baptiste Kempf <jb at videolan.org>
> wrote:
> > ... by NULLifying the TimeGet function.
> I don't know what libsync is, but this patch removes A/V synch completely.
> This is unacceptable.

Sorry, but A/V synch is now COMPLETELY off. By between 1 to 2 seconds.
No to mention the huge crackling that happens in many cases

At least, with this patch, it is usable.

I would say that the current behaviour in the source code is unacceptable.

> AFAIR, VLC is not calling the clock in a tight loop. Unless the decoder
> outputs ridiculously short packets, system calls will not be the
> bottleneck. So that URL is mostly irrelevant. But even then, the patch does
> not correspond to the quoted solution.

Yet, now it outputs correct audio with all samples.

Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device

More information about the vlc-devel mailing list