[SCM] libav/experimental: segment: Report the current media sequence

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Aug 10 16:03:01 UTC 2014


The following commit has been merged in the experimental branch:
commit 87a3ea3192bf5e4aafa08bca8686a2b577eae818
Author: Luca Barbato <lu_zero at gentoo.org>
Date:   Tue Apr 29 10:28:11 2014 +0200

    segment: Report the current media sequence
    
    Useful for debugging mostly.

diff --git a/libavformat/segment.c b/libavformat/segment.c
index 390263c..3e0eb39 100644
--- a/libavformat/segment.c
+++ b/libavformat/segment.c
@@ -95,6 +95,9 @@ static int segment_hls_window(AVFormatContext *s, int last)
     avio_printf(seg->pb, "#EXT-X-MEDIA-SEQUENCE:%d\n",
                 FFMAX(0, seg->number - seg->size));
 
+    av_log(s, AV_LOG_VERBOSE, "EXT-X-MEDIA-SEQUENCE:%d\n",
+           FFMAX(0, seg->number - seg->size));
+
     for (i = FFMAX(0, seg->number - seg->size);
          i < seg->number; i++) {
         avio_printf(seg->pb, "#EXTINF:%d,\n", (int)seg->time);

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list