[mythtv-users] random livetv stalls

Karl Newman newmank1 at asme.org
Wed Feb 19 14:52:26 UTC 2014


On Wed, Feb 19, 2014 at 5:59 AM, Jean-Yves Avenard <jyavenard at gmail.com>wrote:

> On 19 February 2014 23:29, Mark Perkins <perkins1724 at hotmail.com> wrote:
>
> > Well done on tracking this one down Jean-Yves, if I read the trac notes
> correctly this could be a quite substantial improvement for anyone who
> regularly uses LiveTV.
>
> it is indeed. I can now watch live TV just 2-3s behind live; and
> removing all the various wait that were added over the years to make
> live tv more stable, it goes down to just 1s behind; with no stutter
> whatsoever (I don't have to press rewind or pause when liveTV starts
> anymore).
>
> program transition still cause drop of video for 4-5s though... but
> that's another issue
>

Jean-Yves,

I just took a quick look at your commit, and while I don't know the code at
all, this part looks suspicious to me:


        else if (ret > 0)
        {
            tot += ret;
            current_pos += tot;
        }

Shouldn't that be

current_pos = tot;

or

current_pos += ret;

?

Karl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140219/abc67f68/attachment.html>


More information about the mythtv-users mailing list