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

Zhang Rui bbcallen at gmail.com
Wed Jul 17 05:16:55 CEST 2013


>> +        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?

AVInputFormat ff_hls_demuxer = {
    .name           = "hls,applehttp",
    ...
    .flags          = AVFMT_TS_DISCONT,
}


More information about the ffmpeg-devel mailing list