[grilo-plugins] tracker: don't call metadata callback without media
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] tracker: don't call metadata callback without media
- Date: Wed, 30 Mar 2011 17:43:51 +0000 (UTC)
commit c388a505c3cb2bd3fa2ef6be359c22895656103f
Author: Lionel Landwerlin <lionel g landwerlin linux intel com>
Date: Wed Mar 30 13:59:06 2011 +0100
tracker: don't call metadata callback without media
Signed-off-by: Lionel Landwerlin <lionel g landwerlin linux intel com>
src/media/tracker/grl-tracker-media-api.c | 2 +-
src/media/tracker/grl-tracker-metadata.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/media/tracker/grl-tracker-media-api.c b/src/media/tracker/grl-tracker-media-api.c
index 694d166..9224163 100644
--- a/src/media/tracker/grl-tracker-media-api.c
+++ b/src/media/tracker/grl-tracker-media-api.c
@@ -411,7 +411,7 @@ tracker_metadata_cb (GObject *source_object,
"Failed to start metadata action : %s",
tracker_error->message);
- ms->callback (ms->source, NULL, ms->user_data, error);
+ ms->callback (ms->source, ms->media, ms->user_data, error);
g_error_free (tracker_error);
g_error_free (error);
diff --git a/src/media/tracker/grl-tracker-metadata.c b/src/media/tracker/grl-tracker-metadata.c
index 2a38137..f765419 100644
--- a/src/media/tracker/grl-tracker-metadata.c
+++ b/src/media/tracker/grl-tracker-metadata.c
@@ -265,7 +265,7 @@ tracker_resolve_cb (GObject *source_object,
"Failed to start resolve action : %s",
tracker_error->message);
- rs->callback (rs->source, NULL, rs->user_data, error);
+ rs->callback (rs->source, rs->media, rs->user_data, error);
g_error_free (tracker_error);
g_error_free (error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]