From: softworkz <[email protected]>
Signed-off-by: softworkz <[email protected]>
---
libavformat/hlsenc.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index a93d35ab75..a3e523a5df 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -2703,6 +2703,12 @@ static int hls_write_packet(AVFormatContext *s, AVPacket
*pkt)
if (ret < 0)
return ret;
+ if (oc->url[0]) {
+ av_log(s, AV_LOG_VERBOSE, "SegmentComplete=%s:%d Index=%d
StartPts=%"PRId64" EndPts=%"PRId64" Duration=%f filename=%s\n",
+
av_get_media_type_string(vs->streams[stream_index]->codecpar->codec_type),
+ stream_index, vs->number, vs->start_pts, vs->end_pts,
vs->duration, av_basename(oc->url));
+ }
+
old_filename = av_strdup(oc->url);
if (!old_filename) {
return AVERROR(ENOMEM);
--
ffmpeg-codebot
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".