Hi, attached patch fixing zapping to satellite #0
without it specifying -S 0 for *dvbv5-zap* does not work and sat_number remains a negative default value. as result, no settings where made in *dvbsat_diseqc_set_input* ( https://git.linuxtv.org/v4l-utils.git/tree/lib/libdvbv5/dvb-sat.c#n526 )
please apply -- Maksym Veremeyenko
From 1eecbf9b6d3e11a7e79c6004e3df3b01bb736378 Mon Sep 17 00:00:00 2001 From: Maksym Veremeyenko <ve...@m1.tv> Date: Thu, 23 Nov 2017 12:58:41 +0100 Subject: [PATCH 1/4] Fix selecting satellite number 0 --- utils/dvb/dvbv5-zap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/dvb/dvbv5-zap.c b/utils/dvb/dvbv5-zap.c index a88500d1..1b6dabd0 100644 --- a/utils/dvb/dvbv5-zap.c +++ b/utils/dvb/dvbv5-zap.c @@ -930,7 +930,7 @@ int main(int argc, char **argv) goto err; if (lnb >= 0) parms->lnb = dvb_sat_get_lnb(lnb); - if (args.sat_number > 0) + if (args.sat_number >= 0) parms->sat_number = args.sat_number; parms->diseqc_wait = args.diseqc_wait; parms->freq_bpf = args.freq_bpf; -- 2.13.6