Commit 2e5c5442 authored by Pierre Ynard's avatar Pierre Ynard

vimeo.lua: fix error case

parent 5e374e0a
......@@ -96,8 +96,8 @@ function parse()
end
if not codec then
vlc.msg.warn("unable to find codec info")
return nil
vlc.msg.err("unable to find codec info")
return {}
end
if ishd and ( not height or prefres < 0 or prefres >= tonumber(height) ) then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment