Code: Select all
#include <vlc_common.h>
#include <vlc_plugin.h>
#define MODULE_STRING "stubbbbby"
static int Open ( vlc_object_t * );
static void Close ( vlc_object_t * );
vlc_module_begin()
set_description("Stub")
set_shortname("Stub")
set_category( CAT_ADVANCED )
add_shortcut( "stubby" )
set_capability( "text renderer", 1 ) // 0 will disable this guy so that it HAS to be called explicitly
set_callbacks( Open, Close )
vlc_module_end()
int Open ( vlc_object_t * v){
return VLC_SUCCESS;
}
void Close ( vlc_object_t * v){
// do nothing
}
Comparing the export symbols, for the 1.0.3 version I get:
Code: Select all
vlc_entry__1_0_0e
vlc_entry_copyright__1_0_0e
vlc_entry_license__1_0_0e
Code: Select all
vlc_entry__1_1_0g
vlc_entry_copyright__1_1_0g
vlc_entry_license__1_1_0g