From bc4705d14aed0ac281d140a718f67ae82cacbcca Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 25 May 2014 23:17:05 +0100 Subject: Logging tweaks. --- src/lib/image_proxy.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/image_proxy.cc b/src/lib/image_proxy.cc index ced597fff..9c4e7b8aa 100644 --- a/src/lib/image_proxy.cc +++ b/src/lib/image_proxy.cc @@ -127,6 +127,8 @@ MagickImageProxy::image () const throw DecodeError (_("Could not decode image file")); } + LOG_TIMING ("[%1] MagickImageProxy load and decode finished", boost::this_thread::get_id ()); + libdcp::Size size (magick_image->columns(), magick_image->rows()); _image.reset (new Image (PIX_FMT_RGB24, size, true)); @@ -147,7 +149,7 @@ MagickImageProxy::image () const delete magick_image; - LOG_TIMING ("[%1] MagickImageProxy completes read and decode of %1 bytes", boost::this_thread::get_id(), _blob.length()); + LOG_TIMING ("[%1] MagickImageProxy completes read and decode of %2 bytes", boost::this_thread::get_id(), _blob.length()); return _image; } -- cgit v1.2.3