[dvblast-devel] [PATCH] Send EIT only when we have valid PAT

Marian Ďurkovič md at bts.sk
Thu Nov 5 08:48:45 CET 2009


On Wed, Nov 04, 2009 at 07:59:47PM -0000, Andy Gatward wrote:
> Assuming I am reading the DVB documentation correctly, the behaviour 
> of this patch is now incorrect, it is perfectly valid to feed EIT for
> a service that is marked as not running.  See section 4.1.4.1 / 2 
> of DVB Document A005 (r5).  If EIT data is present, TOT / TDT probably 
> should also be present.
> 
> http://tinyurl.com/dvb-a005

Without the patch, DVBlast was sending just the TDT or TDT+EIT to
currently inactive channels. So I made the patch to silence those,
since such TS is clearly invalid (PAT & SDT are missing).

However, I double checked the full (original) TS now, and it turned out
that the broadcaster is in fact sending SDTs for inactive SIDs, but since
we emit SDTs only when PMT is active, it doesn't reach the output...

Thus to fix this, we have to redesign SDT code and decouple it from PMT.
Then, we probably also need to generate a dummy PAT with no programs
inside, since valid TS should have a PAT (?)

Comments welcome.

   With kind regards,

        M.


More information about the dvblast-devel mailing list