[vlc-commits] youtube.lua: remove outdated comments

Pierre Ynard git at videolan.org
Sun Dec 1 09:54:59 CET 2019


vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Sun Dec  1 09:21:55 2019 +0100| [31023dbd439eae3c3e4f945e2bc6ba730e4df363] | committer: Pierre Ynard

youtube.lua: remove outdated comments

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

 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