From: "André Roth" <neolynx@gmail.com>
To: linux-media@vger.kernel.org
Subject: Re: [PATCH 6/6] dvbv5-zap: Parse the LNB from the channel file
Date: Tue, 2 Jul 2013 20:31:48 +0200 [thread overview]
Message-ID: <20130702203148.70ca39a5@myon.exnihilo> (raw)
In-Reply-To: <0fa749428b7762956fd7e19fec6ea306f1d23eec.1371561676.git.gmsoft@tuxicoman.be>
Acked-by: André Roth <neolynx@gmail.com>
On Tue, 18 Jun 2013 16:19:09 +0200
Guy Martin <gmsoft@tuxicoman.be> wrote:
> Parsing the LNB needs to be done for proper tuning.
>
> Signed-off-by: Guy Martin <gmsoft@tuxicoman.be>
> ---
> utils/dvb/dvbv5-zap.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/utils/dvb/dvbv5-zap.c b/utils/dvb/dvbv5-zap.c
> index c84cf70..d6c1152 100644
> --- a/utils/dvb/dvbv5-zap.c
> +++ b/utils/dvb/dvbv5-zap.c
> @@ -165,6 +165,15 @@ static int parse(struct arguments *args,
> return -3;
> }
>
> + if (entry->lnb) {
> + int lnb = dvb_sat_search_lnb(entry->lnb);
> + if (lnb == -1) {
> + PERROR("unknown LNB %s\n", entry->lnb);
> + return -1;
> + }
> + parms->lnb = dvb_sat_get_lnb(lnb);
> + }
> +
> if (entry->video_pid) {
> if (args->n_vpid < entry->video_pid_len)
> *vpid = entry->video_pid[args->n_vpid];
next prev parent reply other threads:[~2013-07-02 18:31 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-18 14:19 [PATCH v2 0/6] v4l-utils: v4l-utils: Fix satellite support in dvbv5-{scan,zap} tools Guy Martin
2013-06-18 14:19 ` [PATCH v2 1/6] libdvbv5: Remove buggy parsing of extra DTV_foo parameters Guy Martin
2013-07-02 18:28 ` André Roth
2013-06-18 14:19 ` [PATCH 2/6] libdvbv5: Add parsing of POLARIZATION Guy Martin
2013-07-02 18:29 ` André Roth
2013-06-18 14:19 ` [PATCH 3/6] libdvbv5: Export dvb_fe_is_satellite() Guy Martin
2013-07-02 18:29 ` André Roth
2013-06-18 14:19 ` [PATCH 4/6] libdvbv5: Fix satellite handling and apply polarization parameter to the frontend Guy Martin
2013-07-02 18:30 ` André Roth
2013-06-18 14:19 ` [PATCH 5/6] libdvbv5: Use a temporary copy of the dvb parameters when tuning Guy Martin
2013-07-02 18:31 ` André Roth
2013-06-18 14:19 ` [PATCH 6/6] dvbv5-zap: Parse the LNB from the channel file Guy Martin
2013-07-02 18:31 ` André Roth [this message]
2013-07-02 18:04 ` [PATCH v2 0/6] v4l-utils: v4l-utils: Fix satellite support in dvbv5-{scan,zap} tools André Roth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130702203148.70ca39a5@myon.exnihilo \
--to=neolynx@gmail.com \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox