Added support for HEVC-video and AC-4-audio

This commit is contained in:
Klaus Schmidinger
2020-06-23 09:27:09 +02:00
parent 8bd2ed1494
commit 7630f579e1
6 changed files with 18 additions and 7 deletions

View File

@@ -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;
}

View File

@@ -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];

View File

@@ -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;