[FFmpeg-devel] [PATCH 2/2] avformat/mpegtsenc: support DVB 6A descriptor for AC-3
lance.lmwang at gmail.com
lance.lmwang at gmail.com
Fri Aug 14 17:45:04 EEST 2020
On Fri, Aug 14, 2020 at 04:33:03PM +0200, Andreas Rheinhardt wrote:
> lance.lmwang at gmail.com:
> > From: Limin Wang <lance.lmwang at gmail.com>
> >
> > Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
> > ---
> > libavformat/mpegts.h | 16 +++++++++++
> > libavformat/mpegtsenc.c | 76 +++++++++++++++++++++++++++++++++++++++++++++++++
> > 2 files changed, 92 insertions(+)
> >
> > diff --git a/libavformat/mpegts.h b/libavformat/mpegts.h
> > index fe10b38..951aa61 100644
> > --- a/libavformat/mpegts.h
> > +++ b/libavformat/mpegts.h
> > @@ -175,6 +175,22 @@ typedef struct Mp4Descr {
> > SLConfigDescr sl;
> > } Mp4Descr;
> >
> > +/*
> > + * ETSI 300 468 descriptor 0x6A(AC-3)
> > + * Refer to: ETSI EN 300 468 V1.11.1 (2010-04) (SI in DVB systems)
> > + */
> > +typedef struct AVDVBAC3Descriptor {
> > + uint8_t component_type_flag;
> > + uint8_t bsid_flag;
> > + uint8_t mainid_flag;
> > + uint8_t asvc_flag;
> > + uint8_t reserved_flags;
> > + uint8_t component_type;
> > + uint8_t bsid;
> > + uint8_t mainid;
> > + uint8_t asvc;
> > +} AVDVBAC3Descriptor;
> > +
>
> This is not a public struct, ergo it shouldn't have an AV prefix.
OK, will remove the AV prefix.
>
> - Andreas
> _______________________________________________
> 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".
--
Thanks,
Limin Wang
More information about the ffmpeg-devel
mailing list