mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Added subtable ID and TSDT handling to 'libsi'
This commit is contained in:
10
libsi/si.c
10
libsi/si.c
@@ -6,7 +6,7 @@
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
* $Id: si.c 1.6 2004/01/24 14:49:00 kls Exp $
|
||||
* $Id: si.c 1.7 2004/02/20 13:46:12 kls Exp $
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
@@ -61,6 +61,14 @@ bool CRCSection::CheckCRCAndParse() {
|
||||
return true;
|
||||
}
|
||||
|
||||
int NumberedSection::getTableIdExtension() const {
|
||||
return getTableIdExtension(data.getData());
|
||||
}
|
||||
|
||||
int NumberedSection::getTableIdExtension(const unsigned char *d) {
|
||||
return HILO(((const ExtendedSectionHeader *)d)->table_id_extension);
|
||||
}
|
||||
|
||||
bool NumberedSection::getCurrentNextIndicator() const {
|
||||
return data.getData<ExtendedSectionHeader>()->current_next_indicator;
|
||||
}
|
||||
|
Reference in New Issue
Block a user