[tracker] tracker-extract, gstreamer: gst_tag_list_get_uint() expects an unsigned output
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tracker-extract, gstreamer: gst_tag_list_get_uint() expects an unsigned output
- Date: Mon, 14 Feb 2011 15:17:54 +0000 (UTC)
commit ab6c66185699e9cc37777cc37a3eddac144328f9
Author: Aleksander Morgado <aleksander lanedo com>
Date: Mon Feb 14 14:03:39 2011 +0100
tracker-extract,gstreamer: gst_tag_list_get_uint() expects an unsigned output
src/tracker-extract/tracker-extract-gstreamer.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-gstreamer.c b/src/tracker-extract/tracker-extract-gstreamer.c
index b1ba147..37e2613 100644
--- a/src/tracker-extract/tracker-extract-gstreamer.c
+++ b/src/tracker-extract/tracker-extract-gstreamer.c
@@ -508,8 +508,6 @@ extract_metadata (MetadataExtractor *extractor,
const gchar *temp;
gchar *make = NULL, *model = NULL, *manuf = NULL;
gchar *composer = NULL, *albumname = NULL, *genre = NULL;
- gboolean ret;
- gint count;
gboolean needs_audio = FALSE;
g_return_if_fail (extractor != NULL);
@@ -846,9 +844,10 @@ extract_metadata (MetadataExtractor *extractor,
}
if (needs_audio) {
+ guint count;
+
/* Audio */
- ret = gst_tag_list_get_uint (extractor->tagcache, GST_TAG_TRACK_COUNT, &count);
- if (ret) {
+ if (gst_tag_list_get_uint (extractor->tagcache, GST_TAG_TRACK_COUNT, &count)) {
*scount = g_strdup_printf ("%d", count);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]