[vlc-commits] vimeo.lua: fix error case
    Pierre Ynard 
    git at videolan.org
       
    Wed Sep 12 22:58:30 CEST 2012
    
    
  
vlc/vlc-2.0 | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Wed Sep 12 22:00:43 2012 +0200| [7990ac15742d6fc4ab79e0b86df4be9fc66d3c48] | committer: Pierre Ynard
vimeo.lua: fix error case
(cherry picked from commit 2e5c5442c8a604bd4446dc64a84f82b2426af80f)
Signed-off-by: Pierre Ynard <linkfanel at yahoo.fr>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=7990ac15742d6fc4ab79e0b86df4be9fc66d3c48
---
 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