[linux-dvb] [patch] dvbscan : make use of TID

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

 



Hi,

I applied this patch which solves null TID problem. However, I still
have a problem with NID. It's strange because NID's seems to be mixed
in channels.conf. This is a BIG issue because when I do a transponder
scan in VDR, it finds the same channels again because of different
(but right) NID BUT sets VPID and APID to 0. So there are a lot of
duplicate unusable channels. It is also strange that when a do a
single transponder scan with "dvbscan -c" used in conjunction with
szap, the NID seems correct.

Here is an example :
Hotbird 6 (13.0E) - 11662.00 V
Channels are NID 318 instead of 176

Thanks for your help,

bluedrops

2005/10/24, Johannes Stezenbach <js@xxxxxxxxxxx>:
> On Sat, Oct 15, 2005 Guy Martin wrote:
> > dvbscan was not copying the transport_stream_id from the transponder to
> > the service. Thus when running dvbscan with -e 3 -o vdr, the TID value
> > was not filled. This lead to EPG not working if you disable auto_pid in
> > vdr.
> >
> > This patch simply copy the value from the transponder to the service.
> > However since the TID comes with the NID I don't think having this value
> > for each service is usefull.
> >
> > Please comment on the above and I'll do another patch to remove this
> > useless redundancy if needed.
>
> > diff -uNr dvb-apps.orig/util/scan/scan.c dvb-apps/util/scan/scan.c
> > --- dvb-apps.orig/util/scan/scan.c    2005-10-15 17:30:40.830843250 +0200
> > +++ dvb-apps/util/scan/scan.c 2005-10-15 17:36:55.894283250 +0200
> > @@ -261,6 +261,7 @@
> >       struct service *s = calloc(1, sizeof(*s));
> >       INIT_LIST_HEAD(&s->list);
> >       s->service_id = service_id;
> > +     s->transport_stream_id = tp->transport_stream_id;
> >       list_add_tail(&s->list, &tp->services);
> >       return s;
> >  }
>
>
> Patch committed to CVS.
>
> Thanks,
> Johannes
>
> _______________________________________________
> 
> 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