Mailing List archive

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

[linux-dvb] Bug in scan app?



I think there's a bug in scan.c. From the CVS version,
I get multiple audio pids for certain services, e.g.

	OPT - ABC PNN:12720:v:S156.0E:30000:0:776,776,776:0:1:833:0:0:0

I think this is caused by the same table id being used for different
service id's.

Truncated trace shows following services: (extra debugging is mine)

	parse_section:920: pid 0x00 tid 0x00 table_id_ext 0x0008, 0/0 (version 4)
	PAT
	service 0x0341
	allocate 0x0341
	pid 0x0022 priv 0
	add_filter:1125: add filter pid 0x0022
	start_filter:1071: start filter pid 0x0022 table_id 0x02
	service 0x0342
	allocate 0x0342
	pid 0x0022 priv 0
	add_filter:1125: add filter pid 0x0022
	start_filter:1071: start filter pid 0x0022 table_id 0x02

(many more services detected)

So multiple filters are set up for the same table id.

When the filters are read back, there are then multiple audio
pids assigned.

	read_filters:1165: filter done pid 0x0022
	remove_filter:1133: remove filter pid 0x0022
	stop_filter:1111: stop filter pid 0x0022
	 section_buf table_id_ext 0xffffffff, packet table_id_ext 0x0341
	parse_section:920: pid 0x22 tid 0x02 table_id_ext 0x0341, 0/0 (version 6)
	PMT 0x0022 for service 0x0341
	  AUDIO     : PID 0x0308
	parse_pmt:738: 0x0000 0x0341: (null) -- (null), pmt_pid 0x0022, vpid 0x0000, apid 0x0308 ()
	read_filters:1165: filter done pid 0x0022
	remove_filter:1133: remove filter pid 0x0022
	stop_filter:1111: stop filter pid 0x0022
	 section_buf table_id_ext 0xffffffff, packet table_id_ext 0x0341
	parse_section:920: pid 0x22 tid 0x02 table_id_ext 0x0341, 0/0 (version 6)
	PMT 0x0022 for service 0x0341
	  AUDIO     : PID 0x0308
	parse_pmt:738: 0x0000 0x0341: (null) -- (null), pmt_pid 0x0022, vpid 0x0000, apid 0x0308 (), 0x0308 ()

Jamie


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index