avformat/hlsproto: explicitly deprecate it

This makes it more clear that it will be removed in a future release.
This commit is contained in:
Marvin Scholz 2025-08-22 00:28:33 +02:00
parent efa64c2acc
commit a6c578ef65

View file

@ -206,10 +206,10 @@ static int hls_open(URLContext *h, const char *uri, int flags)
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",
"Using the hls protocol is deprecated and it will be remove in "
"a future release, please use the hls demuxer instead. "
"If encountering issues with it, please report them. "
"To use the demuxer, simply use %s as url.\n",
s->playlisturl);
if ((ret = parse_playlist(h, s->playlisturl)) < 0)