* [PATCH] Fix selecting satellite number 0
@ 2017-11-24 8:41 Maksym Veremeyenko
0 siblings, 0 replies; only message in thread
From: Maksym Veremeyenko @ 2017-11-24 8:41 UTC (permalink / raw)
To: linux-media
[-- Attachment #1: Type: text/plain, Size: 337 bytes --]
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
[-- Attachment #2: 0001-Fix-selecting-satellite-number-0.patch --]
[-- Type: text/plain, Size: 734 bytes --]
From 1eecbf9b6d3e11a7e79c6004e3df3b01bb736378 Mon Sep 17 00:00:00 2001
From: Maksym Veremeyenko <verem@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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-11-24 10:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-24 8:41 [PATCH] Fix selecting satellite number 0 Maksym Veremeyenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).