Bug #377

[patch] Incorrect parsing of PAT table in IPTV stream

Added by vu1tur   over 2 years ago. Updated over 2 years ago.

Status:RejectedStart date:02/10/2011
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:IPTV
Target version:-
Found in version: Affected Versions:

Description

As far as I can see tvheadend currently handles only one program from an IPTV stream. And it does that by getting the first program number and PID from the PAT table. This behavior is incorrect since sometimes (which is 95% of iptv channels with my provider) the first entry in PAT table is a NIT table with PID = 0x10 and program number = 0. A simple patch is provided to resolve this.

I'm not aware of whether other tables besides NIT and PMT may be found in the PAT table, though. But if they do, their PIDs (0x01, 0x11, 0x12, 0x14) can be excluded just the same way.

iptv_input.c.patch Magnifier (557 Bytes) vu1tur  , 02/10/2011 04:02 pm

History

#1 Updated by Andreas Öman over 2 years ago

  • Status changed from New to Rejected

#2 Updated by vu1tur   over 2 years ago

Andreas Öman wrote:

This has already been fixed a while ago:
https://github.com/andoma/tvheadend/commit/cc42203b53967414e4d0badd99f5d443c587b73f

Oh, sorry, didn't notice the svn was outdated..
Thank you.

Also available in: Atom PDF