[linux-dvb] [PATCH] Fix the tid within the generated output files from the scan utility

e9hack e9hack at googlemail.com
Mon Apr 16 21:55:19 CEST 2007


Hi,

the scan utility has a little bug. If a sdt is found, the informations for a channel is created. If no nit was found up
to this point, the informations of a transponder does only contains the information from the initial scan file. The
entry of the the transport stream id (tid) isn't initialized yet. The tid is always 0 for such channels. For my local
setup (DVB-C with the German provider 'Kabel BW'), this occurs always for the first transponder. The attached patch will
fix this problem (only) for the generated channel files. The fix stores a pointer of the transponder within the channel
info instead of the tid from the transponder. At the time where the output file is generated, a valid nit parsing may
update all transponders. In this case, the tid is valid. A better solution may be: start the sdt parsing only, if a
valid nit was found.

Signed off by: Hartmut Birr <e9hack at googlemail.com>

- Hartmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scan-fix.patch
Type: text/x-patch
Size: 3171 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20070416/86c197d7/scan-fix.bin


More information about the linux-dvb mailing list