diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-04-30 22:02:42 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-04-30 22:03:06 +0400 |
commit | f21f969a3f2a47df7099a03729b56d45fc6d084b (patch) | |
tree | 37bc6dffaaac7c10f4dd55a4893a9031fb2c76f0 /libavformat/hlsenc.c | |
parent | 0eb9482e322662c834b26c1f39abe1f8b652dc73 (diff) | |
parent | 344f7b5a7e0d50573dec402dfe6228676f3889d9 (diff) |
Merge commit '344f7b5a7e0d50573dec402dfe6228676f3889d9'
* commit '344f7b5a7e0d50573dec402dfe6228676f3889d9':
hls: Report the current media sequence
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/hlsenc.c')
-rw-r--r-- | libavformat/hlsenc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 2efa74e468..bb798a8a3e 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -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) |