[mythtv] [PATCH] 0.16 Not waiting long enough for ATSC
Eric Werness
lists at banahogg.com
Tue Sep 28 13:27:54 EDT 2004
When I installed 0.16, none of my channels would tune correctly. When I
checked the debug output, it was very clearly not waiting the 10000 msec
it said it was (I have some slowly rising signal strengths). The
attached patch adjusts the sleep time to use msec with usleep.
I've only touch-tested the patch, but I wanted to get it out there
quickly since I'm sure others are hitting this issue...
Thanks,
~Eric
-------------- next part --------------
--- channel.cpp~ 2004-08-26 16:57:55.000000000 -0700
+++ channel.cpp 2004-09-28 10:19:55.000000000 -0700
@@ -489,7 +489,7 @@
for (i = 0; i < (msecTotal / msecSleep) + 1; i++)
{
if (i != 0)
- usleep(msecSleep);
+ usleep(msecSleep*1000);
if (usingv4l2)
maxSignal = max(maxSignal, signalStrengthATSC_v4l2(videofd,
input));
More information about the mythtv-dev
mailing list