Mercurial > geeqie.yaz
changeset 286:f517bbd7542a
Make xmp debug info only appears when debug >= 2.
author | zas_ |
---|---|
date | Tue, 08 Apr 2008 23:39:27 +0000 |
parents | 6917ea10738c |
children | fd5c62403498 |
files | src/exiv2.cc |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/exiv2.cc Tue Apr 08 23:33:49 2008 +0000 +++ b/src/exiv2.cc Tue Apr 08 23:39:27 2008 +0000 @@ -66,13 +66,13 @@ image->readMetadata(); #if EXIV2_TEST_VERSION(0,16,0) - printf("xmp count %d\n", image->xmpData().count()); + if (debug >= 2) printf("xmp count %d\n", image->xmpData().count()); if (sidecar_path && image->xmpData().empty()) { sidecar = Exiv2::ImageFactory::open(sidecar_path); sidecar->readMetadata(); have_sidecar = sidecar->good(); - printf("sidecar xmp count %d\n", sidecar->xmpData().count()); + if (debug >= 2) printf("sidecar xmp count %d\n", sidecar->xmpData().count()); } #endif