[vlc-commits] youtube.lua: remove outdated comments
Pierre Ynard
git at videolan.org
Sun Dec 1 10:03:08 CET 2019
vlc/vlc-3.0 | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Sun Dec 1 09:21:55 2019 +0100| [53d86fa63d8e6712a90f1792ec8861689181dfba] | committer: Pierre Ynard
youtube.lua: remove outdated comments
(cherry picked from commit 31023dbd439eae3c3e4f945e2bc6ba730e4df363)
Signed-off-by: Pierre Ynard <linkfanel at yahoo.fr>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=53d86fa63d8e6712a90f1792ec8861689181dfba
---
share/lua/playlist/youtube.lua | 5 -----
1 file changed, 5 deletions(-)
diff --git a/share/lua/playlist/youtube.lua b/share/lua/playlist/youtube.lua
index e3c625451b..984da72a4d 100644
--- a/share/lua/playlist/youtube.lua
+++ b/share/lua/playlist/youtube.lua
@@ -193,8 +193,6 @@ end
function pick_url( url_map, fmt, js_url )
local path = nil
for stream in string.gmatch( url_map, "[^,]+" ) do
- -- Apparently formats are listed in quality order,
- -- so we can afford to simply take the first one
local itag = string.match( stream, "itag=(%d+)" )
if not fmt or not itag or tonumber( itag ) == tonumber( fmt ) then
local url = string.match( stream, "url=([^&,]+)" )
@@ -323,9 +321,6 @@ function parse()
path = hlsvp
end
end
- -- There is also another version of the parameters, encoded
- -- differently, as an HTML attribute of an <object> or <embed>
- -- tag; but we don't need it now
end
end
More information about the vlc-commits
mailing list