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

Kenneth Aafløy lists at kenneth.aafloy.net
Thu Sep 1 17:27:41 UTC 2005


torsdag 01 september 2005, 19:20, skrev Stuart Auchterlonie:
> On Thu, Sep 01, 2005 at 05:46:19PM +0100, Mark Weaver wrote:
> > >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.
>
> Thanks Mark,
>
> Have updated the previous patch from 5 mins ago to reflect this
> new wisdom.
>
> Version 3 of the patch is attached.
>
>
> Please test.

As far as I can see, this can deadlock easily, as the selects timeout
value is beeing set on every round.

Kenneth


More information about the mythtv-dev mailing list