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

Michael Niedermayer michaelni at gmx.at
Wed Jul 17 22:02:18 CEST 2013


On Wed, Jul 17, 2013 at 11:41:52PM +0800, Zhang Rui wrote:
> 2013/7/17 Michael Niedermayer <michaelni at gmx.at>:
> > 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
> 
> 
> Since mpegts is always used, maybe 1 struct with AVFMT_TS_DISCONT
> is enough for now?

Does the hls demuxer return timestamp discontinuities ?
if it does, can this not be avoided ?

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- 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/20c0eac9/attachment.asc>


More information about the ffmpeg-devel mailing list