mirror of https://git.ffmpeg.org/ffmpeg.git
segment: Report the current media sequence
Useful for debugging mostly.
This commit is contained in:
parent
344f7b5a7e
commit
87a3ea3192
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue