[FFmpeg-devel] [PATCH 1/2] libavformat/mpegts.h: add DVB descriptor_tag values already in use
Marton Balint
cus at passwd.hu
Fri Nov 22 22:14:53 EET 2024
On Fri, 15 Nov 2024, Scott Theisen wrote:
> ---
> libavformat/mpegts.h | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/libavformat/mpegts.h b/libavformat/mpegts.h
> index 14ae312c50..729c8b07b9 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
> +
Thanks, applied with some cosmetic changes.
A patch which replaces the occurances in mpegts/mpegsenc would be nice.
Thanks,
Marton
> typedef struct MpegTSContext MpegTSContext;
>
> MpegTSContext *avpriv_mpegts_parse_open(AVFormatContext *s);
> --
> 2.43.0
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
>
More information about the ffmpeg-devel
mailing list