[vlc-commits] youtube: also accept https links (might fix #4526).

Rémi Duraffort git at videolan.org
Mon Feb 28 19:35:05 CET 2011


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Feb 28 19:29:42 2011 +0100| [01356cfbd1b3ad567aa391245f3ba218a3b13048] | committer: Rémi Duraffort

youtube: also accept https links (might fix #4526).

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=01356cfbd1b3ad567aa391245f3ba218a3b13048
---

 share/lua/playlist/youtube.lua |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/share/lua/playlist/youtube.lua b/share/lua/playlist/youtube.lua
index 713bdc0..56c4522 100644
--- a/share/lua/playlist/youtube.lua
+++ b/share/lua/playlist/youtube.lua
@@ -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"}



More information about the vlc-commits mailing list