Commit f21f969a authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '344f7b5a'

* commit '344f7b5a':
  hls: Report the current media sequence
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 0eb9482e 344f7b5a
......@@ -148,6 +148,9 @@ static int hls_window(AVFormatContext *s, int last)
avio_printf(hls->pb, "#EXT-X-MEDIA-SEQUENCE:%"PRId64"\n",
FFMAX(0, hls->sequence - hls->nb_entries));
av_log(s, AV_LOG_VERBOSE, "EXT-X-MEDIA-SEQUENCE:%"PRId64"\n",
FFMAX(0, hls->sequence - hls->size));
for (en = hls->list; en; en = en->next) {
avio_printf(hls->pb, "#EXTINF:%f,\n", en->duration);
if (hls->baseurl)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment