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

Rémi Duraffort git at videolan.org
Fri Mar 25 04:17:05 CET 2011


vlc/vlc-1.1 | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Feb 28 19:29:42 2011 +0100| [f1f02819f7578997c3a07782976f3c3fed662ae1] | committer: Pierre Ynard

youtube: also accept https links (might fix #4526).
(cherry picked from commit 01356cfbd1b3ad567aa391245f3ba218a3b13048)

Signed-off-by: Pierre Ynard <linkfanel at yahoo.fr>

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

 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