summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJun Zhao <barryjzhao@tencent.com>2019-09-13 19:53:34 +0800
committerSteven Liu <lq@chinaffmpeg.org>2019-09-14 10:00:03 +0800
commit48d96ce29a2dc459bc844e284322c6bd00cd3f2f (patch)
tree1a5953b13300ffb0a8a8842d9371a763019efda3
parent1a066d87e3ea2fb8139af9181b3abf0f0a16a208 (diff)
downloadffmpeg-streaming-48d96ce29a2dc459bc844e284322c6bd00cd3f2f.zip
ffmpeg-streaming-48d96ce29a2dc459bc844e284322c6bd00cd3f2f.tar.gz
lavf/hls: refine the log message
refine the log message, it's will help the debugging Reviewed-by: Steven Liu <lq@onvideo.cn> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
-rw-r--r--libavformat/hls.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/hls.c b/libavformat/hls.c
index 61b6759..10fc568 100644
--- a/libavformat/hls.c
+++ b/libavformat/hls.c
@@ -664,7 +664,7 @@ static int open_url(AVFormatContext *s, AVIOContext **pb, const char *url,
} else if (ret < 0) {
if (ret != AVERROR_EOF)
av_log(s, AV_LOG_WARNING,
- "keepalive request failed for '%s' when opening url, retrying with new connection: %s\n",
+ "keepalive request failed for '%s' with error: '%s' when opening url, retrying with new connection\n",
url, av_err2str(ret));
ret = s->io_open(s, pb, url, AVIO_FLAG_READ, &tmp);
}
@@ -721,7 +721,7 @@ static int parse_playlist(HLSContext *c, const char *url,
} else if (ret < 0) {
if (ret != AVERROR_EOF)
av_log(c->ctx, AV_LOG_WARNING,
- "keepalive request failed for '%s' when parsing playlist, retrying with new connection: %s\n",
+ "keepalive request failed for '%s' with error: '%s' when parsing playlist\n",
url, av_err2str(ret));
in = NULL;
}
@@ -1483,7 +1483,7 @@ reload:
if (ret < 0) {
if (ff_check_interrupt(c->interrupt_callback))
return AVERROR_EXIT;
- av_log(v->parent, AV_LOG_WARNING, "Failed to open segment %d of playlist %d\n",
+ av_log(v->parent, AV_LOG_WARNING, "Failed to open next segment %d of playlist %d\n",
v->cur_seq_no + 1,
v->index);
} else {
OpenPOWER on IntegriCloud