From 0dceced45c52acc773e690a7aa7ff2e3fb8c560b Mon Sep 17 00:00:00 2001 From: Scott Theisen Date: Fri, 15 Nov 2024 00:48:22 -0500 Subject: [PATCH] avformat/mpegts: add DVB descriptor_tag values already in use Signed-off-by: Marton Balint --- 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);