Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: [PATCH] Improve behaviour of scan app when settingfrontend params



Andreas Oberritter wrote:
I think every application should check the capabilites (that's what they
are good for, aren't they?). But you should then - in case of no lock -
retry with inversion on.
I agree, but what we should try to avoid is that similar code ends up in three different places: the frontends, the generic dvb-frontend code and applications.

This duplication of effort doesn't really help anyone, in fact you end up with each layer implementing some magic retry mechanism and it taking many seconds to try same options over and over again. The error handling code for devices like hard disks and CD's has ended up like this.

One of the benefits of open source is that we can examine all the code to identify the best location to implement it once.

Jon





--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index