[FFmpeg-cvslog] avformat/mpegts: add DVB descriptor_tag values already in use
Scott Theisen
git at videolan.org
Fri Nov 22 22:14:47 EET 2024
ffmpeg | branch: master | Scott Theisen <scott.the.elm at gmail.com> | Fri Nov 15 00:48:22 2024 -0500| [0dceced45c52acc773e690a7aa7ff2e3fb8c560b] | committer: Marton Balint
avformat/mpegts: add DVB descriptor_tag values already in use
Signed-off-by: Marton Balint <cus at passwd.hu>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0dceced45c52acc773e690a7aa7ff2e3fb8c560b
---
libavformat/mpegts.h | 11 +++++++++++
1 file changed, 11 insertions(+)
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);
More information about the ffmpeg-cvslog
mailing list