On Tue, Jan 27, 2009 at 2:59 AM, Andy Walls <awalls@xxxxxxxxx> wrote:
On Mon, 2009-01-26 at 22:31 +0200, Alex Betis wrote:
>
> On Mon, Jan 26, 2009 at 10:20 PM, Darron Broad <darron@xxxxxxxx>
> wrote:
> In message
> <c74595dc0901261130k6bdb6882lfb18c650cbca4abf@xxxxxxxxxxxxxx>,
> Alex
> Betis wrote:
> >
> >On Mon, Jan 26, 2009 at 7:32 PM, Darron Broad
> <darron@xxxxxxxx> wrote:
> >
> >> In message
> <c74595dc0901260753x8b9185fu33f2a96ffbe13016@xxxxxxxxxxxxxx>,
> >> Alex Betis wrote:
> >>
> >> lo
> >>
> >> <snip>
> >> >
> >> >The bug is in S2API that doesn't return ANY error message
> at all :)
Aside from Darron's observation, doesn't the result field of any
particular S2API property return with a non-0 value on failure?
Depends how you define the "failure".
If you order to tune, than for S2API failure would be something like "could not initiate tune command" and not like "tuning failed".
Apparently the "tuning failed" failure should be checked with events and not rely on return code from commands.
Correct me if I'm wrong with that.
If you order to tune, than for S2API failure would be something like "could not initiate tune command" and not like "tuning failed".
Apparently the "tuning failed" failure should be checked with events and not rely on return code from commands.
Correct me if I'm wrong with that.
(Sorry, I missed the original thread on the S2API return values.)
Regards,
Andy
_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead linux-media@xxxxxxxxxxxxxxx
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
_______________________________________________ linux-dvb users mailing list For V4L/DVB development, please use instead linux-media@xxxxxxxxxxxxxxx linux-dvb@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb