summaryrefslogtreecommitdiff
path: root/libavformat/hlsenc.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2014-04-29 10:07:03 +0200
committerLuca Barbato <lu_zero@gentoo.org>2014-04-30 17:51:50 +0200
commit344f7b5a7e0d50573dec402dfe6228676f3889d9 (patch)
treea0bdef5833bcd6027d3ee5a7f2d063a571805653 /libavformat/hlsenc.c
parenta7c5fddac8137654cb503295c4dfb6492df43643 (diff)
hls: Report the current media sequence
Useful for debugging mostly.
Diffstat (limited to 'libavformat/hlsenc.c')
-rw-r--r--libavformat/hlsenc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index 6d6caa1013..2f370ed771 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -147,6 +147,9 @@ static int hls_window(AVFormatContext *s, int last)
avio_printf(hls->pb, "#EXT-X-MEDIA-SEQUENCE:%"PRId64"\n",
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) {
avio_printf(hls->pb, "#EXTINF:%d,\n", en->duration);
if (hls->baseurl)