[Bug 731768] gstsrtpenc: unref event when needed
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Wed Jun 18 07:03:32 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=731768
GStreamer | gst-plugins-bad | 1.3.2
--- Comment #5 from Wim Taymans <wim.taymans at gmail.com> 2014-06-18 14:03:29 UTC ---
(In reply to comment #4)
> At the beginning, I did it as you say, but I changed it because
> gst_event_parse_caps (event, &caps) gives to the caps var the ownership of the
> caps ref.
It does not, the ref to the caps only remains valid for as long as the event is
alive.
If you would get an additional ref to the caps, the caps would be leaked in the
set_caps function then.
--
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