> 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) > continue; > > instead of > 10? >
you are correct. I had the logic the other way around originally. it works for me though which tends to indicate that the 0.5 sec bit may not be necessary but is probably a good safeguard so it doesnt get locked up. cheers mark _______________________________________________ mythtv-dev mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
