aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Theisen <scott.the.elm@gmail.com>2024-11-15 00:48:22 -0500
committerMarton Balint <cus@passwd.hu>2024-11-22 21:11:18 +0100
commit0dceced45c52acc773e690a7aa7ff2e3fb8c560b (patch)
tree9a8fd6cbe24ae02af289467775f71699cb67e015
parent46c6ca3ed1651c67faf899776f1922c108093a44 (diff)
downloadffmpeg-0dceced45c52acc773e690a7aa7ff2e3fb8c560b.tar.gz
avformat/mpegts: add DVB descriptor_tag values already in use
Signed-off-by: Marton Balint <cus@passwd.hu>
-rw-r--r--libavformat/mpegts.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libavformat/mpegts.h b/libavformat/mpegts.h
index 14ae312c50..d6dcf20947 100644
--- a/libavformat/mpegts.h
+++ b/libavformat/mpegts.h
@@ -165,6 +165,17 @@
#define METADATA_DESCRIPTOR 0x26
#define METADATA_STD_DESCRIPTOR 0x27
+/* DVB descriptor tag values [0x40, 0x7F] from
+ ETSI EN 300 468 Table 12: Possible locations of descriptors */
+#define SERVICE_DESCRIPTOR 0x48
+#define STREAM_IDENTIFIER_DESCRIPTOR 0x52
+#define TELETEXT_DESCRIPTOR 0x56
+#define SUBTITLING_DESCRIPTOR 0x59
+#define AC3_DESCRIPTOR 0x6a /* AC-3_descriptor */
+#define ENHANCED_AC3_DESCRIPTOR 0x7a /* enhanced_AC-3_descriptor */
+#define DTS_DESCRIPTOR 0x7b
+#define EXTENSION_DESCRIPTOR 0x7f
+
typedef struct MpegTSContext MpegTSContext;
MpegTSContext *avpriv_mpegts_parse_open(AVFormatContext *s);