vlc | branch: master | Pierre Ynard <[email protected]> | 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

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to