You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
hls: Report the current media sequence
Useful for debugging mostly.
This commit is contained in:
@@ -147,6 +147,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->size));
|
FFMAX(0, hls->sequence - hls->size));
|
||||||
|
|
||||||
|
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:%d,\n", en->duration);
|
avio_printf(hls->pb, "#EXTINF:%d,\n", en->duration);
|
||||||
if (hls->baseurl)
|
if (hls->baseurl)
|
||||||
|
Reference in New Issue
Block a user