<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">On 12/9/19 9:03 AM, Mark Kendall wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAG323RQ9MMXpgE3D91uxuE921ripYCKQJNKeg_6ueHcmWiQJEg@mail.gmail.com">
<div class="moz-text-plain" wrap="true" graphical-quote="true"
style="font-family: -moz-fixed; font-size: 12px;"
lang="x-unicode">
<pre class="moz-quote-pre" wrap="">Many thanks for this - very handy:)
I recently got caught out by the fluctuating av sync on the raspberry
pi. I've taken the liberty of producing a more extensive patch
(attached). This adds your filtering as well as removing all of the
the old a/v sync code and the settings for AVSync2 - i.e. it moves
over completely to the new av sync code and removes the audio
correction adjustment. (N.B. the patch is against today's latest
master - I pushed some cleanup of MythDVDPlayer and the patch won't
apply cleanly before that).
It appears to work very well. On two (linux) desktop dev machines and
a pi 4 I can't see any issues - playback is nice and smooth. As you
say, initial sync seems to be much better as well.
Certainly gets my seal of approval!
One question - last_fix - should that be carried over between calls to
AVSync()? At the moment it is a local that gets reset between each
call - which I'm not sure is the intended behaviour.
Thanks again and regards
Mark
</pre>
</div>
</blockquote>
<br>
Hi Mark<br>
<br>
I have been wondering for a while whether to remove the old avsync
and with it the setup option for avsync2. I am always rather
cautious about making a change that affects everybody. Since I have
not seen any complaints about avsync2 and there have been positive
comments I would say go for it.<br>
<br>
Peter<br>
<br>
<br>
</body>
</html>