[FFmpeg-devel] [PATCH 3/3] avformat/mpegts: include stream types for mpeg2 and aac
Michael Niedermayer
michael at niedermayer.cc
Tue Jun 21 21:07:51 CEST 2016
On Sat, Jun 18, 2016 at 12:56:50PM +0200, Hendrik Leppkes wrote:
> On Tue, Jun 14, 2016 at 8:08 PM, Aman Gupta <ffmpeg at tmm1.net> wrote:
> > From: Aman Gupta <aman at tmm1.net>
> >
> > this removes the need to probe to discover mpeg2 and aac streams
> > inside mpegts containers, thus speeding up initial playback.
> > ---
> > libavformat/mpegts.c | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
> > index 6acb797..f46984d 100644
> > --- a/libavformat/mpegts.c
> > +++ b/libavformat/mpegts.c
> > @@ -700,6 +700,7 @@ static const StreamType ISO_types[] = {
> > { 0x11, AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_AAC_LATM }, /* LATM syntax */
> > #endif
> > { 0x1b, AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_H264 },
> > + { 0x1c, AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_AAC },
> > { 0x20, AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_H264 },
> > { 0x21, AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_JPEG2000 },
> > { 0x24, AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_HEVC },
>
> I can see 1c in the latest spec for AAC audio, so thats probably fine.
applied this hunk
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160621/2bf66a76/attachment.sig>
More information about the ffmpeg-devel
mailing list