diff options
author | Brad Hards <bradh@frogmouth.net> | 2020-10-10 17:04:30 +1100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2020-10-16 23:31:45 +0200 |
commit | fcec7a6848e79d86bb63208e5d75c6a09acd3a84 (patch) | |
tree | 7b0d61656a5296ec8a66433e2850966340cf45aa /libavformat/mpegts.h | |
parent | 15a74d21f3d7e8e6eca475903ef6252343861483 (diff) |
avformat/mpegts: replace magic descriptor_tag values with defines
This takes the used values from ISO/IEC 13818-1 Table 2-45 and adds
them to the mpegts.h header. No functional changes.
Signed-off-by: Brad Hards <bradh@frogmouth.net>
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavformat/mpegts.h')
-rw-r--r-- | libavformat/mpegts.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libavformat/mpegts.h b/libavformat/mpegts.h index d70b25d018..04874e0f42 100644 --- a/libavformat/mpegts.h +++ b/libavformat/mpegts.h @@ -144,6 +144,16 @@ #define STREAM_ID_METADATA_STREAM 0xfc #define STREAM_ID_EXTENDED_STREAM_ID 0xfd +/* ISO/IEC 13818-1 Table 2-45 */ +#define VIDEO_STREAM_DESCRIPTOR 0x02 +#define REGISTRATION_DESCRIPTOR 0x05 +#define ISO_639_LANGUAGE_DESCRIPTOR 0x0a +#define IOD_DESCRIPTOR 0x1d +#define SL_DESCRIPTOR 0x1e +#define FMC_DESCRIPTOR 0x1f +#define METADATA_DESCRIPTOR 0x26 +#define METADATA_STD_DESCRIPTOR 0x27 + typedef struct MpegTSContext MpegTSContext; MpegTSContext *avpriv_mpegts_parse_open(AVFormatContext *s); |