Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: Bug in scan app?
Jamie Honan wrote:
>
> 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
Tha PAT is invalid because more than one service point to the same
PMT PID. But the PMT has a field "program_number" which corresponds
to the service_id from the PAT. scan relies on that program_number.
As a workaround, one could remember the service_id in the PMT filter's
struct section_buf, and use that in parse_pmt instead of the
program_number (== table_id_ext) from the PMT.
Johannes
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index