mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
rtpgstpay: taglists should not be merged in 1.0
This commit is contained in:
parent
69b0dcd7df
commit
b144809b7c
1 changed files with 4 additions and 6 deletions
|
@ -511,14 +511,12 @@ gst_rtp_gst_pay_sink_event (GstRTPBasePayload * payload, GstEvent * event)
|
||||||
if (gst_tag_list_get_scope (tags) == GST_TAG_SCOPE_STREAM) {
|
if (gst_tag_list_get_scope (tags) == GST_TAG_SCOPE_STREAM) {
|
||||||
GstTagList *old;
|
GstTagList *old;
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (rtpgstpay, "merging tags %" GST_PTR_FORMAT, tags);
|
GST_DEBUG_OBJECT (rtpgstpay, "storing stream tags %" GST_PTR_FORMAT,
|
||||||
old = rtpgstpay->taglist;
|
tags);
|
||||||
rtpgstpay->taglist = gst_tag_list_merge (rtpgstpay->taglist, tags,
|
if ((old = rtpgstpay->taglist))
|
||||||
GST_TAG_MERGE_REPLACE);
|
|
||||||
if (old)
|
|
||||||
gst_tag_list_unref (old);
|
gst_tag_list_unref (old);
|
||||||
|
rtpgstpay->taglist = gst_tag_list_ref (tags);
|
||||||
}
|
}
|
||||||
|
|
||||||
etype = 1;
|
etype = 1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue