[mythtv-users] Playback problem -- random short pauses

Mark Lord mythtv at rtr.ca
Sun Apr 17 21:55:58 UTC 2011


On 11-04-17 05:03 PM, Tom Lichti wrote:
..
> 2011-04-17 16:34:58.674 Player(0): Waited 100ms for video frames from decoder AAAAAAAAAAAAAAAAA
> 2011-04-17 16:34:58.683 Player(0): Waited 100ms for video frames from decoder AAAAAAAAAAAAAAAAA
> 2011-04-17 16:34:58.692 Player(0): Waited 100ms for video frames from decoder AAAAAAAAAAAAAAAAA
> 2011-04-17 16:34:58.809 Player(0): Waited 100ms for video frames from decoder AAAAAAAAAAAAAAAAA
> 2011-04-17 16:34:58.818 Player(0): Waited 100ms for video frames from decoder AAAAAAAAAAAAAAAAA
> 2011-04-17 16:34:59.059 Player(0): Waited 100ms for video frames from decoder AAAAAAAAAAAAAAAAA
> 2011-04-17 16:34:59.068 Player(0): Waited 100ms for video frames from decoder AAAAAAAAAAAAAAAAA


Speaking of which.. has anyone else noticed that those messages
are actually MUCH LESS THAN 100ms apart?

The code has this rather flawed logic for it:
       ...
       int waited_for = buffering_start.msecsTo(QTime::currentTime());
       if ((waited_for & 100) == 100)
       ...

That if-stmt will "match" for all kinds of intervals
other than just 100ms.  So I recoded it here to correctly
do things in 100ms increments, but it still didn't make
the LiveTV channel changing any more (or less) reliable.

Cheers


More information about the mythtv-users mailing list