tracker r3047 - in trunk: . src/tracker-extract



Author: mottela
Date: Tue Mar 10 20:00:01 2009
New Revision: 3047
URL: http://svn.gnome.org/viewvc/tracker?rev=3047&view=rev

Log:
Fixed a reference to images in helixbin extractor that broke the build

Modified:
   trunk/ChangeLog
   trunk/src/tracker-extract/tracker-extract-gstreamer-helix.c

Modified: trunk/src/tracker-extract/tracker-extract-gstreamer-helix.c
==============================================================================
--- trunk/src/tracker-extract/tracker-extract-gstreamer-helix.c	(original)
+++ trunk/src/tracker-extract/tracker-extract-gstreamer-helix.c	Tue Mar 10 20:00:01 2009
@@ -827,22 +827,7 @@
 
 	/* Check that we have the minimum data. FIXME We should not need to do this */
 
-	if (type == EXTRACT_MIME_IMAGE) {
-		if (!g_hash_table_lookup (metadata, "Image:Date")) {
-			struct stat st;
-			
-			if (g_lstat (uri, &st) >= 0) {
-				gchar *date;
-				
-				date = tracker_date_to_string (st.st_mtime);
-				
-				g_hash_table_insert (metadata,
-						     g_strdup ("Image:Date"),
-						     tracker_escape_metadata (date));
-				g_free (date);
-			}
-		}
-	} else if (type == EXTRACT_MIME_VIDEO) {
+	if (type == EXTRACT_MIME_VIDEO) {
 		if (!g_hash_table_lookup (metadata, "Video:Title")) {
 			gchar  *basename = g_filename_display_basename (uri);
 			gchar **parts    = g_strsplit (basename, ".", -1);



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