[tracker-miners/sam/gstreamer-remove-cruft: 2/3] tracker-extract-gstreamer: Remove reference to GST_TAG_CLASSIFICATION



commit 908e56aed8b67ecd122978729cec35751a03daa7
Author: Sam Thursfield <sam afuera me uk>
Date:   Wed Feb 26 20:23:38 2020 +0100

    tracker-extract-gstreamer: Remove reference to GST_TAG_CLASSIFICATION
    
    This doesn't exist in GStreamer 1.x.

 src/tracker-extract/tracker-extract-gstreamer.c | 8 --------
 1 file changed, 8 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-gstreamer.c b/src/tracker-extract/tracker-extract-gstreamer.c
index d3072e86f..86bb9ee81 100644
--- a/src/tracker-extract/tracker-extract-gstreamer.c
+++ b/src/tracker-extract/tracker-extract-gstreamer.c
@@ -58,12 +58,6 @@
 /* We wait this long (seconds) for NULL state before freeing */
 #define TRACKER_EXTRACT_GUARD_TIMEOUT 3
 
-/* An additional tag in gstreamer for the content source. Remove when in upstream */
-#ifndef GST_TAG_CLASSIFICATION
-#define GST_TAG_CLASSIFICATION "classification"
-#endif
-
-
 typedef enum {
        EXTRACT_MIME_AUDIO,
        EXTRACT_MIME_VIDEO,
@@ -629,8 +623,6 @@ extractor_apply_video_metadata (MetadataExtractor *extractor,
                                 TrackerResource   *performer,
                                 TrackerResource   *composer)
 {
-       set_property_from_gst_tag (video, "dc:source", tag_list, GST_TAG_CLASSIFICATION);
-
        if (performer) {
                tracker_resource_set_relation (video, "nmm:leadActor", performer);
        }


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