[niepce] better error diags from thumbnailing
- From: Hubert FiguiÃre <hub src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [niepce] better error diags from thumbnailing
- Date: Mon, 14 Nov 2011 08:08:10 +0000 (UTC)
commit f292f7711acd608cd0aace4b8d77ae0698be3572
Author: Hub Figuiere <hub figuiere net>
Date: Mon Nov 14 00:00:40 2011 -0800
better error diags from thumbnailing
src/engine/library/thumbnailcache.cpp | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/engine/library/thumbnailcache.cpp b/src/engine/library/thumbnailcache.cpp
index 7b6e913..ecef49b 100644
--- a/src/engine/library/thumbnailcache.cpp
+++ b/src/engine/library/thumbnailcache.cpp
@@ -89,7 +89,6 @@ Glib::RefPtr<Gdk::Pixbuf> getThumbnail(const LibFile::Ptr & f, int w, int h, con
if(mime_type.isUnknown()) {
DBG_OUT("unknown file type %s", filename.c_str());
}
- // TODO: what about videos?
else if(mime_type.isMovie()) {
try {
if(fwk::thumbnail_movie(filename, w, h, cached)) {
@@ -97,7 +96,7 @@ Glib::RefPtr<Gdk::Pixbuf> getThumbnail(const LibFile::Ptr & f, int w, int h, con
}
}
catch(const Glib::Error & e) {
- ERR_OUT("exception %s", e.what().c_str());
+ ERR_OUT("exception thumbnailing video %s", e.what().c_str());
}
}
else if(!mime_type.isImage()) {
@@ -112,7 +111,7 @@ Glib::RefPtr<Gdk::Pixbuf> getThumbnail(const LibFile::Ptr & f, int w, int h, con
}
}
catch(const Glib::Error & e) {
- ERR_OUT("exception %s", e.what().c_str());
+ ERR_OUT("exception thumbnailing image %s", e.what().c_str());
}
}
else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]