~didrocks/tracker/ubuntu

« back to all changes in this revision

Viewing changes to debian/patches/16_fixes-from-svn-r3167.patch

  • Committer: Didier Roche
  • Date: 2009-04-13 15:11:26 UTC
  • Revision ID: didrocks@ubuntu.com-20090413151126-l82mt4n1hy908vrb
commit for review

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: tracker-0.6.93/src/tracker-extract/tracker-extract-gstreamer.c
 
2
===================================================================
 
3
--- tracker-0.6.93.orig/src/tracker-extract/tracker-extract-gstreamer.c 2009-04-08 00:04:00.000000000 +0200
 
4
+++ tracker-0.6.93/src/tracker-extract/tracker-extract-gstreamer.c      2009-04-13 14:26:06.000000000 +0200
 
5
@@ -784,6 +784,12 @@
 
6
        g_main_loop_unref (extractor->loop);
 
7
        g_slice_free (MetadataExtractor, extractor);
 
8
 
 
9
+       gst_element_set_state (extractor->pipeline, GST_STATE_NULL);
 
10
+       gst_object_unref (extractor->bus);
 
11
+       gst_object_unref (GST_OBJECT (extractor->pipeline));
 
12
+       g_main_loop_unref (extractor->loop);
 
13
+       g_slice_free (MetadataExtractor, extractor);
 
14
+
 
15
        if (type == EXTRACT_MIME_IMAGE) {
 
16
                if (!g_hash_table_lookup (metadata, "Image:Date")) {
 
17
                        struct stat st;