<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p>Since we got functionality in order to support resampling (to shrink the drift while maintaining playback), it should probably be used under circumstances as what is mentioned; or well, that was what went through my head when I wrote the patch.</p>
<p>The duration is just as much part of the entity as the PTS, and if one is used to make decisions about potentially discarding the entity itself, I’d say it is equally safe to use the other.</p>
<p>The decision could however be improved by also incorporating AOUT_MAX_PTS_DELAY to actually discard blocks that we need to shrink (resample over time) to a lower duration than AOUT_MAX_PTS_DELAY (ie. preferring silence instead of a longer period of resampling).</p>
<p>My experiments has however showed that the gain is neglectable with my sample files (at least to the human ear), but in theory it could be an improvement.</p>
</blockquote>
<p>Regarding what Remi wrote in the reply linked below, do we have some other ideas (besides what has been proposed in the patch in question) that could solve this issue?</p>
<ul>
<li>https://mailman.videolan.org/pipermail/vlc-devel/2016-May/107673.html</li>
</ul>
<p>Given that the patch solves a few of our the issues (and tickets) we are currently facing regarding broken audio when seeking/audio running late; I would love for a solution to the problem.</p>
<p><em>If</em> the supplied patch is not sufficient, some brainstorming on how to fix the issue would be awesome!</p>
<p>Thanks.</p>