[FFmpeg-devel] [PATCH] avformat/hls: inherite AVInputFormat.flags from underlying demuxer

Michael Niedermayer michaelni at gmx.at
Wed Jul 17 11:11:56 CEST 2013


On Wed, Jul 17, 2013 at 11:16:55AM +0800, Zhang Rui wrote:
> >> +        s->iformat->flags |= (in_fmt->flags & AVFMT_TS_DISCONT);
> >
> > s->iformat  is shared between demuxers, it thus cannot be changed
> 
> Hmm. So ff_hls_demuxer is the only place where this flag can be set?

yes or have 2 such structs one with and one without
or we would have to move the flag to the AVFormatContext

> 
> AVInputFormat ff_hls_demuxer = {
>     .name           = "hls,applehttp",
>     ...
>     .flags          = AVFMT_TS_DISCONT,
> }
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Into a blind darkness they enter who follow after the Ignorance,
they as if into a greater darkness enter who devote themselves
to the Knowledge alone. -- Isha Upanishad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130717/aaf47a29/attachment.asc>


More information about the ffmpeg-devel mailing list