Commit 08ae2ced authored by Jürg Billeter's avatar Jürg Billeter Committed by Martyn Russell

tracker-extract-gstreamer: Use global tags returned from discoverer

Fixes NB#287529.
parent 5619c120
......@@ -1107,6 +1107,11 @@ discoverer_init_and_run (MetadataExtractor *extractor,
extractor->duration = gst_discoverer_info_get_duration (info) / GST_SECOND;
/* Retrieve global tags */
extractor->tagcache = gst_tag_list_merge (NULL,
gst_discoverer_info_get_tags (info),
GST_TAG_MERGE_APPEND);
/* Get list of Streams to iterate */
extractor->streams = gst_discoverer_info_get_stream_list (info);
for (l = extractor->streams; l; l = g_list_next (l)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment