diff options
author | Martin Storsjö | 2012-02-14 12:09:09 +0200 |
---|---|---|
committer | Martin Storsjö | 2012-02-14 20:05:32 +0200 |
commit | 9cb9c6c42dcd08746e0684eeacccf8b89b12e571 (patch) | |
tree | 685fd7f9a49cf8227a28edcaaf408ad8d4cab345 /libavformat/hlsproto.c | |
parent | 3975ca8957be408c118f101e0a44c6554a329667 (diff) |
hlsproto: Encourage users to try the hls demuxer instead of the proto
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/hlsproto.c')
-rw-r--r-- | libavformat/hlsproto.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/hlsproto.c b/libavformat/hlsproto.c index 244f270398..f611f7599c 100644 --- a/libavformat/hlsproto.c +++ b/libavformat/hlsproto.c @@ -222,6 +222,12 @@ static int applehttp_open(URLContext *h, const char *uri, int flags) ret = AVERROR(EINVAL); goto fail; } + av_log(h, AV_LOG_WARNING, + "Using the hls protocol is discouraged, please try using the " + "hls demuxer instead. The hls demuxer should be more complete " + "and work as well as the protocol implementation. (If not, " + "please report it.) To use the demuxer, simply use %s as url.\n", + s->playlisturl); if ((ret = parse_playlist(h, s->playlisturl)) < 0) goto fail; |