[SCM] libav/experimental: hls: Report the current media sequence
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Aug 10 16:03:00 UTC 2014
The following commit has been merged in the experimental branch:
commit 344f7b5a7e0d50573dec402dfe6228676f3889d9
Author: Luca Barbato <lu_zero at gentoo.org>
Date: Tue Apr 29 10:07:03 2014 +0200
hls: Report the current media sequence
Useful for debugging mostly.
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index 6d6caa1..2f370ed 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)
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list