[mythtv] I can't get Live TV with DVB-T...
Kenneth Aafløy
ke-aa at frisurf.no
Tue Nov 25 15:22:21 EST 2003
On Sun, 2003-11-23 at 15:07, Enrico Rubboli wrote:
> /* (this is not a patch, do not use!!) */
>
> int count_test=0;
> while (avail < count && !stopreads){
> availWaitMutex.lock();
> wanttoread = count;
> if (!availWait.wait(&availWaitMutex, 2000))
> cerr << "Waited 2 seconds for data to become available, waiting "
> "again...\n";
> wanttoread = 0;
> availWaitMutex.unlock();
> avail = ReadBufAvail();
> if (ateof && avail < count)
> count = avail;
> count_test++;
> if(count_test == 3) //after 6 seconds i leave the loop!
> break;
> }
>
> /* end loop*/
>
> And after 6 seconds i can switch into another channel... but this is not a
> clean solution! ;)
So make it clean, submit a patch and get over it, instead of wasting
everyone's time by stating that the dvb code is crap!!
Kenneth
More information about the mythtv-dev
mailing list