Signed-off-by: Martin Storsjö <martin@martin.st>
hls+file://path/to/local/resource.m3u8
@end example
+Using this protocol is discouraged - the hls demuxer should work
+just as well (if not, please report the issues) and is more complete.
+To use the hls demuxer instead, simply use the direct URLs to the
+m3u8 files.
+
@section http
HTTP (Hyper Text Transfer Protocol).
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;