[gst-devel] Re: [gst-cvs] wtay gst-plugins-base: gst-plugins-base/ gst-plugins-base/ext/pango/ gst-plugins-base/gst/adder/

Andy Wingo wingo at pobox.com
Tue Mar 14 05:07:01 CET 2006


Yo,

On Thu, 2006-03-09 at 15:05 +0000, Wim Taymans wrote:
> Log message:
> * ext/pango/gsttextoverlay.c: (gst_text_overlay_init):
> * ext/pango/gsttextrender.c: (gst_text_render_init):
> * gst/adder/gstadder.c: (gst_adder_init):
> Don't leak padtemplates, patch by Christophe Fergeau,
> closes #333510.
[...]
> +  template = gst_static_pad_template_get (&video_sink_template_factory);
> +  overlay->video_sinkpad = gst_pad_new_from_template (template, "video_sink");
> +  gst_object_unref (template);

There exists gst_pad_new_from_static_template for this purpose.

Regards,
-- 
Andy Wingo
http://wingolog.org/





More information about the gstreamer-devel mailing list