From: ddennedy Date: Tue, 6 Jan 2009 05:30:36 +0000 (+0000) Subject: mlt_repository.c: report reason when dlopen fails. X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=155087f253fe520bac16f947d815645e3ee551c1;hp=43b8637d43111412e4de944a4eeb3668ab838f9b;p=melted mlt_repository.c: report reason when dlopen fails. git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@1305 d19143bc-622f-0410-bfdd-b5b2a6649095 --- diff --git a/src/framework/mlt_repository.c b/src/framework/mlt_repository.c index f821abb..7150397 100644 --- a/src/framework/mlt_repository.c +++ b/src/framework/mlt_repository.c @@ -99,7 +99,7 @@ mlt_repository mlt_repository_init( const char *directory ) } else if ( strstr( object_name, "libmlt" ) ) { - fprintf( stderr, "%s, %s: failed to dlopen %s\n", __FILE__, __FUNCTION__, object_name ); + fprintf( stderr, "%s, %s: failed to dlopen %s\n (%s)\n", __FILE__, __FUNCTION__, object_name, dlerror() ); } }