// Open the shared object
object = dlopen( full_file, RTLD_NOW | RTLD_GLOBAL );
+ if ( object == NULL )
+ fprintf( stderr, "Failed to load plugin: %s\n", dlerror() );
// Set it on the properties
mlt_properties_set_data( object_properties, "dlopen", object, 0, ( void (*)( void * ) )dlclose, NULL );