[vlc-commits] vimeo.lua: fix video quality parsing

Pierre Ynard git at videolan.org
Tue Feb 2 03:31:26 CET 2016


vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Tue Feb  2 03:21:12 2016 +0100| [7ccee74013b8a9274185d5ef06df77b57d1c5233] | committer: Pierre Ynard

vimeo.lua: fix video quality parsing

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

 share/lua/playlist/vimeo.lua |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/share/lua/playlist/vimeo.lua b/share/lua/playlist/vimeo.lua
index d9eed17..5dcfc04 100644
--- a/share/lua/playlist/vimeo.lua
+++ b/share/lua/playlist/vimeo.lua
@@ -67,7 +67,7 @@ function parse()
                 -- Apparently the different formats available are listed
                 -- in uncertain order of quality, so compare with what
                 -- we have so far.
-                local height = string.match( stream, "\"height\":(%d+)[,}]" )
+                local height = string.match( stream, "\"height\":(%d+)" )
                 height = tonumber( height )
 
                 -- Better than nothing



More information about the vlc-commits mailing list