[FFmpeg-devel] [PATCH 1/5] API: add AV_PKT_DATA_MPEGTS_DESC_6A to AVPacketSideDataType

Kieran Kunhya kierank at obe.tv
Tue Jul 28 19:48:52 EEST 2020


On Tue, 28 Jul 2020 at 16:04, <lance.lmwang at gmail.com> wrote:

> From: Limin Wang <lance.lmwang at gmail.com>
>
> Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
> ---
>  doc/APIchanges        | 3 +++
>  libavcodec/avpacket.c | 1 +
>  libavcodec/packet.h   | 7 +++++++
>  libavcodec/version.h  | 2 +-
>  4 files changed, 12 insertions(+), 1 deletion(-)
>
> diff --git a/doc/APIchanges b/doc/APIchanges
> index 72a4833..2c76fdc 100644
> --- a/doc/APIchanges
> +++ b/doc/APIchanges
> @@ -15,6 +15,9 @@ libavutil:     2017-10-21
>
>  API changes, most recent first:
>
> +2020-07-xx - xxxxxxxxxx - lavc 58.98.102 - packet.h
> +  Add AV_PKT_DATA_MPEGTS_DESC_6A.
> +
>  2020-07-xx - xxxxxxxxxx - lavu 56.57.100 - cpu.h
>    Add AV_CPU_FLAG_MMI and AV_CPU_FLAG_MSA.
>
> diff --git a/libavcodec/avpacket.c b/libavcodec/avpacket.c
> index 4801163..0e88112 100644
> --- a/libavcodec/avpacket.c
> +++ b/libavcodec/avpacket.c
> @@ -401,6 +401,7 @@ const char *av_packet_side_data_name(enum
> AVPacketSideDataType type)
>      case AV_PKT_DATA_ICC_PROFILE:                return "ICC Profile";
>      case AV_PKT_DATA_DOVI_CONF:                  return "DOVI
> configuration record";
>      case AV_PKT_DATA_S12M_TIMECODE:              return "SMPTE ST
> 12-1:2014 timecode";
> +    case AV_PKT_DATA_MPEGTS_DESC_6A:             return "ETSI 300 468
> descriptor 0x6A(AC-3)";
>

This ancillary data is not associated with the packet. It's a descriptor
which is not the same thing.

Kieran


More information about the ffmpeg-devel mailing list