ffmpeg | branch: master | Jun Zhao <[email protected]> | Fri Jun 14 
09:22:04 2019 +0800| [6f82bf9dd30d7a8d8e4c4978eac2fb540629e508] | committer: 
Jun Zhao

lavf/hls: More log message

More log message, it's will help the debugging

Reviewed-by: Steven Liu <[email protected]>
Signed-off-by: Jun Zhao <[email protected]>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6f82bf9dd30d7a8d8e4c4978eac2fb540629e508
---

 libavformat/hls.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/libavformat/hls.c b/libavformat/hls.c
index e10cfeb414..8c12fcef77 100644
--- a/libavformat/hls.c
+++ b/libavformat/hls.c
@@ -849,6 +849,7 @@ static int parse_playlist(HLSContext *c, const char *url,
             if (ptr)
                 seg_offset = strtoll(ptr+1, NULL, 10);
         } else if (av_strstart(line, "#", NULL)) {
+            av_log(c->ctx, AV_LOG_INFO, "Skip ('%s')\n", line);
             continue;
         } else if (line[0]) {
             if (is_variant) {
@@ -1398,8 +1399,8 @@ restart:
         v->needed = playlist_needed(v);
 
         if (!v->needed) {
-            av_log(v->parent, AV_LOG_INFO, "No longer receiving playlist %d\n",
-                v->index);
+            av_log(v->parent, AV_LOG_INFO, "No longer receiving playlist %d 
('%s')\n",
+                   v->index, v->url);
             return AVERROR_EOF;
         }
 

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to