<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi,</p>
    <p>I really appreciate if anyone could review and test my current
      rework of DVB handlng of EI and SD tables. An archive of the
      changed files is attached to ticket#12932 <em>here</em><em> <a
href="https://code.mythtv.org/trac/raw-attachment/ticket/12932/dvbeitsdt.tbz"><a class="moz-txt-link-freetext" href="https://code.mythtv.org/trac/raw-attachment/ticket/12932/dvbeitsdt.tbz">https://code.mythtv.org/trac/raw-attachment/ticket/12932/dvbeitsdt.tbz</a></a></em><a
href="https://code.mythtv.org/trac/attachment/ticket/12932/dvbeitsdt.tbz"><em></em></a></p>
    <p>This rework fixes the identification of EI and SD sub-tables and
      adds caching of EI sub-tables. The identification now complies
      with ETSI EN 300 468 V1.15.1 (2016-03), as below.<br>
    </p>
    <blockquote>
      <p>sub_table: collection of sections with the same value of
        table_id and:<br>
        • for a NIT: the same table_id_extension (network_id) and
        version_number;<br>
        • for a BAT: the same table_id_extension (bouquet_id) and
        version_number;<br>
        • for a SDT: the same table_id_extension (transport_stream_id),
        the same original_network_id and<br>
        version_number;<br>
        • for a EIT: the same table_id_extension (service_id), the same
        transport_stream_id, the same<br>
        original_network_id and version_number.</p>
    </blockquote>
    <blockquote>
      <p>NOTE: The table_id_extension field is equivalent to the fourth
        and fifth byte of a section when the<br>
        section_syntax_indicator is set to a value of "1".<br>
      </p>
    </blockquote>
    <p>The code has only been tested against DVB-T here in the UK. It
      needs testing against other broadcast providers. I have not fully
      tested the changes in the SD table handling. These are only used
      when scanning for channels.</p>
    <p>Roger<br>
    </p>
    <p><br>
    </p>
  </body>
</html>