summaryrefslogtreecommitdiff
path: root/libsi
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2020-06-23 09:27:09 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2020-06-23 09:27:09 +0200
commit7630f579e18cc122fabdcca3a7c113c8dcbd7632 (patch)
tree7a165fef2f99d1cd41dc373acac2f299abe3d0e3 /libsi
parent8bd2ed1494bc466fcbfe8b21a879a7648c8f8cf3 (diff)
downloadvdr-7630f579e18cc122fabdcca3a7c113c8dcbd7632.tar.gz
vdr-7630f579e18cc122fabdcca3a7c113c8dcbd7632.tar.bz2
Added support for HEVC-video and AC-4-audio
Diffstat (limited to 'libsi')
-rw-r--r--libsi/descriptor.c6
-rw-r--r--libsi/descriptor.h3
-rw-r--r--libsi/headers.h6
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;