]> git.sesse.net Git - vlc/blobdiff - modules/misc/lua/libs/objects.c
Prevent setting volume to outrageous values.
[vlc] / modules / misc / lua / libs / objects.c
index 8bce1ecd6614b0b14b183ba7a80b1929e0ae38d7..950f5fe78752237b057432a11d0d8cb05d4ab99b 100644 (file)
@@ -89,22 +89,10 @@ static int vlc_object_type_from_string( const char *psz_name )
         int i_type;
         const char *psz_name;
     } pp_objects[] =
-        { { VLC_OBJECT_LIBVLC, "libvlc" },
-          { VLC_OBJECT_MODULE, "module" },
-          { VLC_OBJECT_INTF, "intf" },
-          { VLC_OBJECT_INPUT, "input" },
+        { { VLC_OBJECT_INPUT, "input" },
           { VLC_OBJECT_DECODER, "decoder" },
           { VLC_OBJECT_VOUT, "vout" },
           { VLC_OBJECT_AOUT, "aout" },
-          { VLC_OBJECT_PACKETIZER, "packetizer" },
-          { VLC_OBJECT_ENCODER, "encoder" },
-          { VLC_OBJECT_DIALOGS, "dialogs" },
-          { VLC_OBJECT_ANNOUNCE, "announce" },
-          { VLC_OBJECT_OPENGL, "opengl" },
-          { VLC_OBJECT_FILTER, "filter" },
-          { VLC_OBJECT_OSDMENU, "osdmenu" },
-          { VLC_OBJECT_HTTPD_HOST, "httpd_host" },
-          { VLC_OBJECT_INTERACTION, "interaction" },
           { VLC_OBJECT_GENERIC, "generic" },
           { 0, "" } };
     int i;
@@ -211,6 +199,7 @@ static int vlclua_get_playlist( lua_State *L )
         vlclua_push_vlc_object( L, p_playlist, vlclua_gc_release );
     }
     else lua_pushnil( L );
+    //vlclua_release_playlist_internal( p_playlist );
     return 1;
 }