[Bug 692508] gst_element_get_compatible_pad_template: use gst_pad_get_pad_template

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jan 25 01:58:49 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=692508
  GStreamer | gstreamer (core) | git

--- Comment #1 from Niv Sardi <xaiki at evilgiggle.com> 2013-01-25 09:58:47 UTC ---
this used to be unsuable:
gst_pad_get_pad_template ()

Returns : the GstPadTemplate from which this pad was instantiated, or NULL if
this pad has no template. FIXME: currently returns an unrefcounted padtemplate.
[transfer none]

but has been fixed by:
commit b5bc5b459ad888766b8f9c81b48f830018294e5e
Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date:   Tue May 17 11:59:00 2011 +0200

    pad: Let template related functions return new references

    gst_pad_template_get_caps(), gst_pad_get_pad_template_caps()
    and gst_pad_get_pad_template() return a new reference of the
    caps or template now and the return value needs to be
    unreffed after usage.

-- 
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