From: Matej Knopp Date: Wed, 17 Aug 2016 21:49:02 +0000 (+0200) Subject: parsebin: do not set global tags to stream X-Git-Tag: 1.10.4~148 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=89554f665be585afce96aed1dd553fc761707024;p=platform%2Fupstream%2Fgst-plugins-base.git parsebin: do not set global tags to stream https://bugzilla.gnome.org/show_bug.cgi?id=770053 --- diff --git a/gst/playback/gstparsebin.c b/gst/playback/gstparsebin.c index 72d7ba6..84de64d 100644 --- a/gst/playback/gstparsebin.c +++ b/gst/playback/gstparsebin.c @@ -3920,9 +3920,11 @@ gst_parse_pad_update_caps (GstParsePad * parsepad, GstCaps * caps) static void gst_parse_pad_update_tags (GstParsePad * parsepad, GstTagList * tags) { - if (tags && parsepad->active_stream) { - GST_DEBUG_OBJECT (parsepad, "Storing new tags %" GST_PTR_FORMAT - " on stream %" GST_PTR_FORMAT, tags, parsepad->active_stream); + if (tags && gst_tag_list_get_scope (tags) == GST_TAG_SCOPE_STREAM + && parsepad->active_stream) { + GST_DEBUG_OBJECT (parsepad, + "Storing new tags %" GST_PTR_FORMAT " on stream %" GST_PTR_FORMAT, tags, + parsepad->active_stream); gst_stream_set_tags (parsepad->active_stream, tags); } }