<div dir="ltr"><div><div>A long time irritation in vlc since the 1.0.x days is that when the buffer delay is adjusted vlc trashes all data currently in its buffers. Thereby introducing visual artefacts in the playback <br>

<br>The attached patch is a first attempt on solving this. It is not perfect yet, since when updating the clock jitter lipsync can be lost. And not updating clock jitter but pausing for buffering restarts and unpausing afterwards seems to keep lipsync.<br>

</div><br></div><div>The question is how to update the clock jitter and keeping lipsync? I do not have an answer yet and hope one of our core developers has an idea.<br><div class="gmail_drive_chip" style="width:396px;min-height:18px;max-height:18px;background-color:rgb(245,245,245);padding:5px;color:rgb(34,34,34);font-family:arial;font-style:normal;font-weight:bold;font-size:13px;border:1px solid rgb(221,221,221)">

<a href="http://undefined" style="display:inline-block;max-width:366px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;padding:1px 0;border:none" target="_blank"><img style="vertical-align:bottom;border:none" src="https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png"> <span dir="ltr" style="color:rgb(17,85,204);text-decoration:none;vertical-align:bottom">0001-Decoders-Restart-buffering-without-flushing.patch</span></a><img src="https://ssl.gstatic.com/ui/v1/icons/common/x_8px.png" style="float:right"></div>

<br></div><div>Kind regards,<br>Jean-Paul Saman<br></div></div>