[linux-dvb] [PATCH]Fix a bug in scan, which outputs the wrong frequency if the current tuned transponder is scanned only
e9hack at googlemail.com
e9hack at googlemail.com
Wed Dec 3 20:04:49 CET 2008
2008/12/3 e9hack <e9hack at googlemail.com>
> For the current transponder scanning, it isn't set any filter for NIT
> parsing. Since the
> output format is zap and vdr only, it must be always setup a NIT filter:
>
> diff -r 51eceb97c3bd scan.c
> --- a/scan.c Mon Dec 01 23:36:50 2008 +0200
> +++ b/scan.c Wed Dec 03 18:04:10 2008 +0100
> @@ -2495,7 +2503,7 @@ static void scan_tp_dvb (void)
> add_filter (&s0);
> add_filter (&s1);
>
> - if (!current_tp_only) {
> + if (/*!current_tp_only*/1) {
> setup_filter (&s2, demux_devname, PID_NIT_ST,
> TID_NIT_ACTUAL, -1, 1, 0,
> 15); /* NIT */
> add_filter (&s2);
> if (get_other_nits) {
>
I forgot, frequency and modulation are wrong as in the original scan
application. The values are from last parsed NIT entry, which isn't from the
current transponder.
Regards,
Hartmut
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxtv.org/pipermail/linux-dvb/attachments/20081203/047c436d/attachment.htm
More information about the linux-dvb
mailing list