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