[mythtv] DVB 7133 uk full dvb-t scan problems
Daniel Kristjansson
danielk at cuymedia.net
Sat Aug 27 13:58:46 UTC 2005
On Sat, 2005-08-27 at 14:32 +0100, Stuart Auchterlonie wrote:
> On Sat, Aug 27, 2005 at 01:56:54PM +0100, Allan Stirling wrote:
> > >+ if (tmp_stat == FE_HAS_LOCK)
> > >+ return true;
> > if (tmp_stat & FE_HAS_LOCK)
> > return true;
> > Since the rest of the lock status isn't always 0...
> No that's correct.
> FE_READ_STATUS returns an fe_status_t which is only an enum.
We use enums all the time for flags.
And in fact FE_HAS_LOCK is used as flag elsewhere.
I committed your fallback for broken drivers with the
appropriate warning message & with Allan's fix.
-- Daniel
More information about the mythtv-dev
mailing list