]> git.sesse.net Git - vlc/blobdiff - src/libvlc.c
Revert "libvlc: Add a --verbose-objects option to select which objects should print...
[vlc] / src / libvlc.c
index 70236ec3b3136928623686b10bd16b03033a7754..71ed33ad936acf572f04f87d37bd0fdcce132042 100644 (file)
@@ -633,28 +633,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
     /*
      * Message queue options
      */
-    char * psz_verbose_objects = config_GetPsz( p_libvlc, "verbose-objects" );
-    if( psz_verbose_objects )
-    {
-        char * psz_object, * iter = psz_verbose_objects;
-        while( (psz_object = strsep( &iter, "," )) )
-        {
-            switch( psz_object[0] )
-            {
-                printf("%s\n", psz_object+1);
-                case '+': msg_EnableObjectPrinting(p_libvlc, psz_object+1); break;
-                case '-': msg_DisableObjectPrinting(p_libvlc, psz_object+1); break;
-                default:
-                    msg_Err( p_libvlc, "verbose-objects usage: \n"
-                            "--verbose-objects=+printthatobject,"
-                            "-dontprintthatone\n"
-                            "(keyword 'all' to applies to all objects)\n");
-                    free( psz_verbose_objects );
-                    return VLC_EGENERIC;
-            }
-        }
-        free( psz_verbose_objects );
-    }
 
     var_Create( p_libvlc, "verbose", VLC_VAR_INTEGER | VLC_VAR_DOINHERIT );
     if( config_GetInt( p_libvlc, "quiet" ) > 0 )