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

vimeo.lua: fix error case

parent 5e374e0a
...@@ -96,8 +96,8 @@ function parse() ...@@ -96,8 +96,8 @@ function parse()
end end
if not codec then if not codec then
vlc.msg.warn("unable to find codec info") vlc.msg.err("unable to find codec info")
return nil return {}
end end
if ishd and ( not height or prefres < 0 or prefres >= tonumber(height) ) then 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