[tracker] tracker-extract: Use dummy fastpath for svg extraction



commit 512b6b0f6053e701aaa79379a0f2e0ca1113d376
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Aug 4 19:06:30 2015 +0200

    tracker-extract: Use dummy fastpath for svg extraction
    
    The gstreamer based extraction is less than useful for our purposes,
    it could spend considerable amounts of cpu time and memory in
    building a pixel representation of the image (which is useless for
    us), and would extract nothing relevant from the file (w/h are
    meaningless on scalable images, other details such as geolocation
    just don't apply here).
    
    So SVG through gstreamer was a very expensive no-op, it can be
    safely made to use dummy extraction, and it will still be set
    the corresponding rdf:types.
    
    This is our side of the fix for:
    https://bugzilla.gnome.org/show_bug.cgi?id=748608

 src/tracker-extract/10-svg.rule |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker-extract/10-svg.rule b/src/tracker-extract/10-svg.rule
index 7b92563..bff4644 100644
--- a/src/tracker-extract/10-svg.rule
+++ b/src/tracker-extract/10-svg.rule
@@ -1,4 +1,3 @@
 [ExtractorRule]
-ModulePath=libextract-gstreamer.so
-MimeTypes=image/svg+xml
+MimeTypes=image/svg+xml;image/svg+xml-compressed;
 FallbackRdfTypes=nfo:Image;nfo:VectorImage;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]