rtsp: Add rtsps to the probe
This commit is contained in:
parent
c839b0439f
commit
3df8d52fcd
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user