[tracker] tracker-extract: initialize albumart on standalone mode as well.
- From: Carlos Garnacho <carlosg src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker] tracker-extract: initialize albumart on standalone mode as well.
- Date: Wed, 28 Oct 2009 16:43:02 +0000 (UTC)
commit 379a374814fd3b67c15ea42f985e6eb28ae30901
Author: Carlos Garnacho <carlos lanedo com>
Date: Wed Oct 28 17:39:06 2009 +0100
tracker-extract: initialize albumart on standalone mode as well.
This was reporting critical warnings from non-initialized caches in there.
src/tracker-extract/tracker-main.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-extract/tracker-main.c b/src/tracker-extract/tracker-main.c
index 213197a..d4ae7e3 100644
--- a/src/tracker-extract/tracker-main.c
+++ b/src/tracker-extract/tracker-main.c
@@ -290,6 +290,8 @@ run_standalone (void)
verbosity = 3;
}
+ tracker_albumart_init ();
+
/* This makes sure we don't steal all the system's resources */
initialize_priority ();
@@ -317,6 +319,8 @@ run_standalone (void)
g_log_remove_handler (NULL, log_handler_id);
}
+ tracker_albumart_shutdown ();
+
return EXIT_SUCCESS;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]