]> git.sesse.net Git - mlt/commitdiff
Enhance image conversion logging.
authorDan Dennedy <dan@dennedy.org>
Mon, 13 Sep 2010 01:10:33 +0000 (18:10 -0700)
committerDan Dennedy <dan@dennedy.org>
Mon, 13 Sep 2010 01:10:33 +0000 (18:10 -0700)
src/modules/avformat/filter_avcolour_space.c
src/modules/core/filter_imageconvert.c

index fa0e38146a043f719b3ea76950969cfe8db39756..aed9b9714744948d78bf75087593552d3a7acb71 100644 (file)
@@ -114,8 +114,9 @@ static int convert_image( mlt_frame frame, uint8_t **image, mlt_image_format *fo
 
        if ( *format != output_format )
        {
-               mlt_log_debug( NULL, "[filter avcolor_space] %s -> %s\n",
-                       mlt_image_format_name( *format ), mlt_image_format_name( output_format ) );
+               mlt_log_debug( NULL, "[filter avcolor_space] %s -> %s @ %dx%d\n",
+                       mlt_image_format_name( *format ), mlt_image_format_name( output_format ),
+                       width, height );
 
                int in_fmt = convert_mlt_to_av_cs( *format );
                int out_fmt = convert_mlt_to_av_cs( output_format );
index 99378604b1658a062a915bc7d81476abc49f0b27..dd4a7ae7f145a48793a5b503d92379f14e9e3ca5 100644 (file)
@@ -324,8 +324,9 @@ static int convert_image( mlt_frame frame, uint8_t **buffer, mlt_image_format *f
        {
                conversion_function converter = conversion_matrix[ *format - 1 ][ requested_format - 1 ];
 
-               mlt_log_debug( NULL, "[filter imageconvert] %s -> %s\n",
-                       mlt_image_format_name( *format ), mlt_image_format_name( requested_format ) );
+               mlt_log_debug( NULL, "[filter imageconvert] %s -> %s @ %dx%d\n",
+                       mlt_image_format_name( *format ), mlt_image_format_name( requested_format ),
+                       width, height );
                if ( converter )
                {
                        int size = width * height * bpp_table[ requested_format - 1 ];