[mythtv] [PATCH] occasional timeout on play start

Isaac Richards ijr at case.edu
Fri Jun 17 04:07:25 UTC 2005

On Monday 13 June 2005 03:42 am, Mark Spieth wrote:
> I dont know about anyone else, but sometimes I get a 10 sec read timeout on
> play start.
> attached is a patch which fixes this.
> It seems to be a timing issue with readaheadthread and the reader and it
> gets stuck in the loop
> since the buffer is too full to continue but the reader isnt reading.
> hopefully Ive done it the right way.

The logic looks a bit backwards to me - did you mean:

if (readsallowed && loops < 10)

instead of > 10?


More information about the mythtv-dev mailing list