* configuration.c management of the modules configuration
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: configuration.c,v 1.37 2002/08/15 12:11:15 sam Exp $
+ * $Id: configuration.c,v 1.38 2002/08/20 18:25:42 sam Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
p_module->p_config[i].ppsz_list[j] = NULL;
}
- /* the callback pointer is only valid when the module is loaded so this
- * value is set in module_activate() and reset in module_deactivate() */
- p_module->p_config[i].pf_callback = NULL;
+ p_module->p_config[i].pf_callback = p_orig[i].pf_callback;
}
}
* modules, especially intf modules. See config.h for output configuration.
*****************************************************************************
* Copyright (C) 1998-2002 VideoLAN
- * $Id: messages.c,v 1.8 2002/08/10 19:23:06 sam Exp $
+ * $Id: messages.c,v 1.9 2002/08/20 18:25:42 sam Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
if( p_this->p_vlc->b_color )
{
fprintf( stderr, "[" GREEN "%.2x" GRAY ":" GREEN "%.6x" GRAY "] "
- "%s%s: %s%s" GRAY "\n", p_this->p_vlc->i_unique,
+ "%s%s: %s%s" GRAY "\n", p_this->p_vlc->i_instance,
p_item->i_object_id, p_item->psz_module,
ppsz_type[i_type], ppsz_color[i_type],
p_item->psz_msg );
else
{
fprintf( stderr, "[%.2x:%.6x] %s%s: %s\n",
- p_this->p_vlc->i_unique, p_item->i_object_id,
+ p_this->p_vlc->i_instance, p_item->i_object_id,
p_item->psz_module, ppsz_type[i_type],
p_item->psz_msg );
}
* modules.c : Builtin and plugin modules management functions
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: modules.c,v 1.88 2002/08/15 12:22:45 sam Exp $
+ * $Id: modules.c,v 1.89 2002/08/20 18:25:42 sam Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Ethan C. Baldridge <BaldridgeE@cadmus.com>
if( CallEntry( p_module ) != 0 )
{
/* We couldn't call module_init() */
- msg_Err( p_this, "failed calling entry point in `%s'", psz_file );
vlc_object_destroy( p_module );
module_unload( handle );
return -1;