diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-05-25 23:17:05 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-05-25 23:17:05 +0100 |
| commit | bc4705d14aed0ac281d140a718f67ae82cacbcca (patch) | |
| tree | 2c1bae6bae3c6746dcf239978ecbd2923b0e2785 /src/lib | |
| parent | 7f924e0c11fbbbccf7856e13cc2b91a357f5f5df (diff) | |
Logging tweaks.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/image_proxy.cc | 4 |
1 files changed, 3 insertions, 1 deletions
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; } |
