[tracker] tracker-extract: gstreamer: Bugfix for NB#169119, critical about unref of an object
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tracker-extract: gstreamer: Bugfix for NB#169119, critical about unref of an object
- Date: Mon, 17 May 2010 09:23:44 +0000 (UTC)
commit 4c60525f4fa08e3681f8ef155a1aa5e09c6d36ee
Author: Philip Van Hoof <philip codeminded be>
Date: Mon May 17 11:21:14 2010 +0200
tracker-extract: gstreamer: Bugfix for NB#169119, critical about unref of an object
src/tracker-extract/tracker-extract-gstreamer.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-gstreamer.c b/src/tracker-extract/tracker-extract-gstreamer.c
index 6c3af75..ea84315 100644
--- a/src/tracker-extract/tracker-extract-gstreamer.c
+++ b/src/tracker-extract/tracker-extract-gstreamer.c
@@ -396,18 +396,15 @@ get_embedded_album_art(MetadataExtractor *extractor)
if (value) {
GstBuffer *buffer;
- GstCaps *caps;
GstStructure *caps_struct;
buffer = gst_value_get_buffer (value);
- caps = gst_buffer_get_caps (buffer);
caps_struct = gst_caps_get_structure (buffer->caps, 0);
extractor->album_art_data = buffer->data;
extractor->album_art_size = buffer->size;
extractor->album_art_mime = gst_structure_get_name (caps_struct);
- gst_object_unref (caps);
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]