Original commit message from CVS:
* gst/dvdsub/gstdvdsubparse.c: (gst_dvd_sub_parse_init):
Stop leaking src pad templates. Fixes bug #515708.
2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
+ * gst/dvdsub/gstdvdsubparse.c: (gst_dvd_sub_parse_init):
+ Stop leaking src pad templates. Fixes bug #515708.
+
+2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
+
* gst/mpegaudioparse/gstxingmux.c: (generate_xing_header):
Correctly write the size in bytes on big endian systems.
Fixes bug #515725.
parse->srcpad = gst_pad_new_from_static_template (&src_template, "src");
gst_pad_use_fixed_caps (parse->srcpad);
gst_pad_set_caps (parse->srcpad,
- gst_pad_template_get_caps (gst_static_pad_template_get (&src_template)));
+ gst_static_pad_template_get_caps (&src_template));
gst_element_add_pad (GST_ELEMENT (parse), parse->srcpad);
/* remainder */