[FFmpeg-devel] [PATCH] avformat/hls: tag as AVFMT_TS_DISCONT

Timo Rothenpieler timo at rothenpieler.org
Thu May 17 13:02:22 EEST 2018

> I think I'm against this. HLS streams do not typically contain
> timestamp resets (even if they could). Otherwise you might as well add
> this flag to the Matroska demuxer. Besides, it would break some of my
> code, which uses this flag as a heuristic to detect mpeg-ts style
> non-container formats.

They do, a lot. For example sites insert ads in them which change pretty
much everything about the stream while they are running.

More information about the ffmpeg-devel mailing list