[tracker] Fixes NB#174202 and NB#176932: A file with 'video/x-ms-asf' mimetype may actually be audio-only.



commit 00a3f54a41dea8f7e54237bfdfdbfb425891173d
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Mon Jun 28 10:58:58 2010 +0200

    Fixes NB#174202 and NB#176932: A file with 'video/x-ms-asf' mimetype may actually be audio-only.

 src/tracker-extract/tracker-extract-gstreamer.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-gstreamer.c b/src/tracker-extract/tracker-extract-gstreamer.c
index c0f5eac..9470c4c 100644
--- a/src/tracker-extract/tracker-extract-gstreamer.c
+++ b/src/tracker-extract/tracker-extract-gstreamer.c
@@ -145,9 +145,10 @@ static TrackerExtractData data[] = {
 	{ "audio/*", extract_gstreamer_audio },
 	{ "video/*", extract_gstreamer_video },
 	{ "image/*", extract_gstreamer_image },
-	/* mime type guessing returns for instance video/3gpp also for 3gpp audio files */
+	/* Tell gstreamer to guess if mimetype guessing returns video also for audio files */
 	{ "video/3gpp", extract_gstreamer_guess },
 	{ "video/mp4", extract_gstreamer_guess },
+	{ "video/x-ms-asf", extract_gstreamer_guess },
 	{ NULL, NULL }
 };
 



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