diff options
Diffstat (limited to 'libsi')
-rw-r--r-- | libsi/descriptor.c | 6 | ||||
-rw-r--r-- | libsi/descriptor.h | 3 | ||||
-rw-r--r-- | libsi/headers.h | 6 |
3 files changed, 10 insertions, 5 deletions
diff --git a/libsi/descriptor.c b/libsi/descriptor.c index a94c0035..9e2b39ce 100644 --- a/libsi/descriptor.c +++ b/libsi/descriptor.c @@ -6,7 +6,7 @@ * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * - * $Id: descriptor.c 4.2 2020/05/14 21:21:03 kls Exp $ + * $Id: descriptor.c 4.3 2020/06/23 09:27:09 kls Exp $ * * ***************************************************************************/ @@ -567,6 +567,10 @@ int ComponentDescriptor::getStreamContent() const { return s->stream_content; } +int ComponentDescriptor::getStreamContentExt() const { + return s->stream_content_ext; +} + int ComponentDescriptor::getComponentType() const { return s->component_type; } diff --git a/libsi/descriptor.h b/libsi/descriptor.h index 3c8b0f90..218609e3 100644 --- a/libsi/descriptor.h +++ b/libsi/descriptor.h @@ -6,7 +6,7 @@ * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * - * $Id: descriptor.h 4.1 2019/03/15 16:12:09 kls Exp $ + * $Id: descriptor.h 4.2 2020/06/23 09:27:09 kls Exp $ * * ***************************************************************************/ @@ -295,6 +295,7 @@ private: class ComponentDescriptor : public Descriptor { public: int getStreamContent() const; + int getStreamContentExt() const; int getComponentType() const; int getComponentTag() const; char languageCode[4]; diff --git a/libsi/headers.h b/libsi/headers.h index ff5bb5da..fa26eea3 100644 --- a/libsi/headers.h +++ b/libsi/headers.h @@ -10,7 +10,7 @@ * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * - * $Id: headers.h 3.1 2013/10/30 10:16:18 kls Exp $ + * $Id: headers.h 4.1 2020/06/23 09:27:09 kls Exp $ * * ***************************************************************************/ @@ -1176,11 +1176,11 @@ struct descr_component { u_char descriptor_tag :8; u_char descriptor_length :8; #if BYTE_ORDER == BIG_ENDIAN - u_char reserved :4; + u_char stream_content_ext :4; u_char stream_content :4; #else u_char stream_content :4; - u_char reserved :4; + u_char stream_content_ext :4; #endif u_char component_type :8; u_char component_tag :8; |