]> git.sesse.net Git - vlc/commitdiff
youtube: also accept https links (might fix #4526).
authorRémi Duraffort <ivoire@videolan.org>
Mon, 28 Feb 2011 18:29:42 +0000 (19:29 +0100)
committerRémi Duraffort <ivoire@videolan.org>
Mon, 28 Feb 2011 18:29:42 +0000 (19:29 +0100)
share/lua/playlist/youtube.lua

index 713bdc011173ef250028a7cea2f15ace080c6fb4..56c45228977d611dd0d89e78e3f6aec6b90bf98e 100644 (file)
@@ -35,7 +35,7 @@ end
 
 -- Probe function.
 function probe()
-    if vlc.access ~= "http" then
+    if vlc.access ~= "http" and vlc.access ~= "https" then
         return false
     end
     options = {":demux=avformat,ffmpeg"}