[mythtv] [PATCH] Remove use of deprecated DVB events.

Mark Weaver mark-clist at npsl.co.uk
Thu Sep 1 16:46:19 UTC 2005


Stuart Auchterlonie wrote:
> On Thu, Sep 01, 2005 at 03:30:07PM +0100, Allan Stirling wrote:
> 
>>Stuart Auchterlonie wrote:
>>
>>>On Thu, Sep 01, 2005 at 03:07:01PM +0200, Kenneth Aafl°y wrote:
>>>
>>>>With 'while (ioctl(fd_frontend, FE_GET_EVENT, &event) == 0);' commented 
>>>>out:
>>>>
>>>
>>>
>>>I thought you were trying to get rid of FE_GET_EVENT's ????
>>>
>>>Other than that we are getting closer to a proper solution 8-)
>>>
>>
>>The poll() returns because there's an event in the queue.
>>
> 
> 
> Hmmm, changing between channels on the same mplex the backend
> gets stuck in select waiting for an event. This leads to the conclusion
> that we are eating too many events. How or why I'm not sure at the
> moment.
> 
This is because there isn't an event if the frequency isn't changed. 
The TuneXXX functions check if a tune is required and only call 
FE_SET_FRONTEND if so.  Hence no event occurs on the same multiplex.

If you put the "if (havetuned==false) return true;" back in it shouldn't 
do that.


More information about the mythtv-dev mailing list