[gstreamer-bugs] [Bug 627211] jpegformat: Push tags after setting srcpad caps

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Nov 19 00:19:47 PST 2010


https://bugzilla.gnome.org/show_bug.cgi?id=627211
  GStreamer | gst-plugins-bad | unspecified

--- Comment #7 from Sebastian Dröge <slomo at circular-chaos.org> 2010-11-19 08:19:41 UTC ---
(In reply to comment #5)

> @@ +791,3 @@
> +      gst_element_found_tags_for_pad (GST_ELEMENT_CAST (parse),
> +          parse->priv->srcpad, parse->priv->tags);
> +      parse->priv->tags = NULL;
> 
> found_tags_for_pad makes a copy from the taglist, so we need to free it here,
> too.

No, it takes ownership of the tag list. The copy is taken for the tag event
(which takes ownership itself) and then the messages takes the ownership of the
passed taglist.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the Gstreamer-bugs mailing list