Commit 3df8d52f authored by Luca Barbato's avatar Luca Barbato

rtsp: Add rtsps to the probe

parent c839b043
......@@ -680,7 +680,11 @@ static int rtsp_listen(AVFormatContext *s)
static int rtsp_probe(AVProbeData *p)
{
if (av_strstart(p->filename, "rtsp:", NULL))
if (
#if CONFIG_TLS_PROTOCOL
av_strstart(p->filename, "rtsps:", NULL) ||
#endif
av_strstart(p->filename, "rtsp:", NULL))
return AVPROBE_SCORE_MAX;
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment