]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
IPTV: autonet - add rtsp(s) and udp/rtp schemes to m3u parser
authorJaroslav Kysela <perex@perex.cz>
Wed, 14 Oct 2015 20:45:47 +0000 (22:45 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 14 Oct 2015 20:46:03 +0000 (22:46 +0200)
src/input/mpegts/iptv/iptv_auto.c

index 45e5eb2a84a8b01c8172ea5ddc1bbfb9190b6828..fbf4f3a6a49fb706c2ee4218e5bf5bd43724010d 100644 (file)
@@ -82,7 +82,11 @@ iptv_auto_network_process_m3u_item(iptv_network_t *in,
   if (url == NULL ||
       (strncmp(url, "file://", 7) &&
        strncmp(url, "http://", 7) &&
-       strncmp(url, "https://", 8)))
+       strncmp(url, "https://", 8) &&
+       strncmp(url, "rtsp://", 7) &&
+       strncmp(url, "rtsps://", 8) &&
+       strncmp(url, "udp://", 6) &&
+       strncmp(url, "rtp://", 6)))
     return;
 
   if (chnum) {