mirror of https://git.ffmpeg.org/ffmpeg.git
Merge commit '344f7b5a7e0d50573dec402dfe6228676f3889d9'
* commit '344f7b5a7e0d50573dec402dfe6228676f3889d9': hls: Report the current media sequence Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
f21f969a3f
|
@ -148,6 +148,9 @@ static int hls_window(AVFormatContext *s, int last)
|
||||||
avio_printf(hls->pb, "#EXT-X-MEDIA-SEQUENCE:%"PRId64"\n",
|
avio_printf(hls->pb, "#EXT-X-MEDIA-SEQUENCE:%"PRId64"\n",
|
||||||
FFMAX(0, hls->sequence - hls->nb_entries));
|
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) {
|
for (en = hls->list; en; en = en->next) {
|
||||||
avio_printf(hls->pb, "#EXTINF:%f,\n", en->duration);
|
avio_printf(hls->pb, "#EXTINF:%f,\n", en->duration);
|
||||||
if (hls->baseurl)
|
if (hls->baseurl)
|
||||||
|
|
Loading…
Reference in New Issue