Merge commit '344f7b5a7e0d50573dec402dfe6228676f3889d9'
[ffmpeg.git] / libavformat / hlsenc.c
index 2efa74e..bb798a8 100644 (file)
@@ -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)