[vlc-commits] vimeo.lua: fix error case
Pierre Ynard
git at videolan.org
Wed Sep 12 22:01:34 CEST 2012
vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Wed Sep 12 22:00:43 2012 +0200| [2e5c5442c8a604bd4446dc64a84f82b2426af80f] | committer: Pierre Ynard
vimeo.lua: fix error case
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2e5c5442c8a604bd4446dc64a84f82b2426af80f
---
share/lua/playlist/vimeo.lua | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/share/lua/playlist/vimeo.lua b/share/lua/playlist/vimeo.lua
index 5c9043c..12c2918 100644
--- a/share/lua/playlist/vimeo.lua
+++ b/share/lua/playlist/vimeo.lua
@@ -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
More information about the vlc-commits
mailing list