[tracker/functions] tracker-extract-gstreamer: Fix nfo:channels and nfo:sampleRate



commit 640ad1a16c80d265526b5d5f2b865bcf396f4bb4
Author: Jürg Billeter <j bitron ch>
Date:   Wed Dec 30 17:58:13 2009 +0100

    tracker-extract-gstreamer: Fix nfo:channels and nfo:sampleRate
    
    tagreadbin provides these two values as ints, not uints.
    
    Fixes part of NB#132761.

 src/tracker-extract/tracker-extract-gstreamer.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-gstreamer.c b/src/tracker-extract/tracker-extract-gstreamer.c
index f7008ad..9e16335 100644
--- a/src/tracker-extract/tracker-extract-gstreamer.c
+++ b/src/tracker-extract/tracker-extract-gstreamer.c
@@ -381,8 +381,8 @@ extract_stream_metadata_tagreadbin (MetadataExtractor *extractor,
                                     TrackerSparqlBuilder         *metadata)
 {
 	if (extractor->mime != EXTRACT_MIME_IMAGE) {
-		add_uint_gst_tag (metadata, uri, "nfo:channels", extractor->tagcache, GST_TAG_CHANNEL);
-		add_uint_gst_tag (metadata, uri, "nfo:sampleRate", extractor->tagcache, GST_TAG_RATE);
+		add_int_gst_tag (metadata, uri, "nfo:channels", extractor->tagcache, GST_TAG_CHANNEL);
+		add_int_gst_tag (metadata, uri, "nfo:sampleRate", extractor->tagcache, GST_TAG_RATE);
 		add_time_gst_tag (metadata, uri, "nfo:duration", extractor->tagcache, GST_TAG_DURATION);
 	}
 



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