[vlc-devel] commit: Remove practically unused interface type from scripting ( Rémi Denis-Courmont )

git version control git at videolan.org
Mon Jan 19 18:37:35 CET 2009


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Mon Jan 19 19:31:04 2009 +0200| [895bdba5f06551698ebc9d46fd220dd542f37328] | committer: Rémi Denis-Courmont 

Remove practically unused interface type from scripting

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=895bdba5f06551698ebc9d46fd220dd542f37328
---

 modules/control/http/rpn.c      |    2 --
 modules/misc/lua/libs/objects.c |    3 +--
 2 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/modules/control/http/rpn.c b/modules/control/http/rpn.c
index a6551b3..bd7c169 100644
--- a/modules/control/http/rpn.c
+++ b/modules/control/http/rpn.c
@@ -41,8 +41,6 @@ static vlc_object_t *GetVLCObject( intf_thread_t *p_intf,
 
     if( !strcmp( psz_object, "VLC_OBJECT_LIBVLC" ) )
         p_object = VLC_OBJECT(p_intf->p_libvlc);
-    else if( !strcmp( psz_object, "VLC_OBJECT_INTF" ) )
-        p_object = VLC_OBJECT(p_intf);
     else if( !strcmp( psz_object, "VLC_OBJECT_PLAYLIST" ) )
         p_object = VLC_OBJECT(p_sys->p_playlist);
     else if( !strcmp( psz_object, "VLC_OBJECT_INPUT" ) )
diff --git a/modules/misc/lua/libs/objects.c b/modules/misc/lua/libs/objects.c
index 8621ffe..0048409 100644
--- a/modules/misc/lua/libs/objects.c
+++ b/modules/misc/lua/libs/objects.c
@@ -89,8 +89,7 @@ static int vlc_object_type_from_string( const char *psz_name )
         int i_type;
         const char *psz_name;
     } pp_objects[] =
-        { { VLC_OBJECT_INTF, "intf" },
-          { VLC_OBJECT_INPUT, "input" },
+        { { VLC_OBJECT_INPUT, "input" },
           { VLC_OBJECT_DECODER, "decoder" },
           { VLC_OBJECT_VOUT, "vout" },
           { VLC_OBJECT_AOUT, "aout" },




More information about the vlc-devel mailing list