Re: [PATCH]Fix a bug in scan, which outputs the wrong frequency if the current tuned transponder is scanned only

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2008/12/3 e9hack <e9hack@xxxxxxxxxxxxxx>
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
_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux