]> git.sesse.net Git - mlt/commitdiff
Convert some printfs to fprintf(stderr) or mlt_log.
authorDan Dennedy <dan@dennedy.org>
Thu, 1 Sep 2011 04:20:33 +0000 (21:20 -0700)
committerDan Dennedy <dan@dennedy.org>
Thu, 1 Sep 2011 04:20:33 +0000 (21:20 -0700)
src/modules/frei0r/factory.c
src/modules/motion_est/filter_autotrack_rectangle.c

index 19d7ef75f315f64ee858b3bb915af4d3f6d4d744..123c8a650652c72b2c9c5f62d79387f9d0897127 100644 (file)
@@ -272,7 +272,7 @@ static void * load_lib( mlt_profile profile, mlt_service_type type , void* handl
 
                return ret;
        }else{
-               printf("some was wrong\n");
+               mlt_log_error( NULL, "frei0r plugin \"%s\" is missing a function\n", name );
                dlerror();
        }
        return NULL;
index fc5e69becb2fa155aeafb81fbef00fc3cc91c782..f65e16c1bc069dd5ae86e0fa70a852e86b462abf 100644 (file)
@@ -197,7 +197,7 @@ static int filter_get_image( mlt_frame frame, uint8_t **image, mlt_image_format
                
        if( mlt_properties_get_int( filter_properties, "collect" ) == 1 )
        {
-               printf( "%d,%d,%d,%d\n", (int)boundry.x, (int)boundry.y, (int)boundry.w, (int)boundry.h );
+               fprintf( stderr, "%d,%d,%d,%d\n", (int)boundry.x, (int)boundry.y, (int)boundry.w, (int)boundry.h );
                fflush( stdout );
        }