Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

SDT parser now only looks for the SDT for the current mux (table_id 0…

…x42) and ignores the 'other' mux SDT's
  • Loading branch information...
commit b4e4bc60d7f1a54c3069bfba7cdc5b048f01e230 1 parent c0492d5
@owlsroost owlsroost authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 DirectShowFilters/TsWriter/source/SdtParser.cpp
4 DirectShowFilters/TsWriter/source/SdtParser.cpp
@@ -52,7 +52,9 @@ void CSdtParser::OnNewSection(CSection& sections)
byte* section=(&sections.Data)[0];
int sectionLen=sections.section_length;
- if (sections.table_id!=0x42 && sections.table_id!=0x46) return;
+ //We only want the SDT for this actual mux (not 'others' with table_id 0x46)
+ if (sections.table_id!=0x42) return;
long original_network_id = ((section[8])<<8)+section[9];
// LogDebug("decodeSDTTable len=%d section no:%d last section no:%d cni:%d version:%d si:%d",
Please sign in to comment.
Something went wrong with that request. Please try again.