X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_properties.c;fp=src%2Fframework%2Fmlt_properties.c;h=6057b68fbc066226d078c3a80b5198736487b4f2;hb=51f99c29759e71318c4c575f8a68cf1b5d1c5137;hp=cf9e522c4c0a34702ccc67cf6b606788e7af25bd;hpb=60a3b9ce71d1e69c26f4359cee87358fe944f86e;p=melted diff --git a/src/framework/mlt_properties.c b/src/framework/mlt_properties.c index cf9e522..6057b68 100644 --- a/src/framework/mlt_properties.c +++ b/src/framework/mlt_properties.c @@ -24,6 +24,7 @@ #include "mlt_properties.h" #include "mlt_property.h" #include "mlt_deque.h" +#include "mlt_log.h" #include #include @@ -498,7 +499,7 @@ int mlt_properties_set( mlt_properties this, const char *name, const char *value // Set it if not NULL if ( property == NULL ) { - fprintf( stderr, "Whoops - %s not found (should never occur)\n", name ); + mlt_log( NULL, MLT_LOG_FATAL, "Whoops - %s not found (should never occur)\n", name ); } else if ( value == NULL ) { @@ -1149,7 +1150,7 @@ void mlt_properties_close( mlt_properties this ) properties_destroyed ++; // Show current stats - these should match when the app is closed - fprintf( stderr, "Created %d, destroyed %d\n", properties_created, properties_destroyed ); + mlt_log( NULL, MLT_LOG_DEBUG, "Created %d, destroyed %d\n", properties_created, properties_destroyed ); #endif // Clean up names and values