mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 07:28:53 +00:00
parsebin: do not set global tags to stream
https://bugzilla.gnome.org/show_bug.cgi?id=770053
This commit is contained in:
parent
5c4f4ac1bd
commit
89554f665b
1 changed files with 5 additions and 3 deletions
|
@ -3920,9 +3920,11 @@ gst_parse_pad_update_caps (GstParsePad * parsepad, GstCaps * caps)
|
||||||
static void
|
static void
|
||||||
gst_parse_pad_update_tags (GstParsePad * parsepad, GstTagList * tags)
|
gst_parse_pad_update_tags (GstParsePad * parsepad, GstTagList * tags)
|
||||||
{
|
{
|
||||||
if (tags && parsepad->active_stream) {
|
if (tags && gst_tag_list_get_scope (tags) == GST_TAG_SCOPE_STREAM
|
||||||
GST_DEBUG_OBJECT (parsepad, "Storing new tags %" GST_PTR_FORMAT
|
&& parsepad->active_stream) {
|
||||||
" on stream %" GST_PTR_FORMAT, tags, 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);
|
gst_stream_set_tags (parsepad->active_stream, tags);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue