vlc/vlc-2.2 | branch: master | Pierre Ynard <[email protected]> | Tue Feb 2 03:21:12 2016 +0100| [a27ae000c42c8f1a2e03a809034bdbdfa17e223c] | committer: Pierre Ynard
vimeo.lua: fix video quality parsing (cherry picked from commit 7ccee74013b8a9274185d5ef06df77b57d1c5233) Signed-off-by: Pierre Ynard <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=a27ae000c42c8f1a2e03a809034bdbdfa17e223c --- 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 dbe2a79..812e479 100644 --- a/share/lua/playlist/vimeo.lua +++ b/share/lua/playlist/vimeo.lua @@ -66,7 +66,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
