padtemplate: enable code to fix the leak, now that the deps have been released

Good and ffmpeg are actually multiple releases beyond, so that this is now safe
to do.
This commit is contained in:
Stefan Kost 2009-04-08 15:24:58 +03:00
parent 4b9850a478
commit 8892f3f4c9

View file

@ -366,13 +366,8 @@ gst_pad_template_new (const gchar * name_template,
"name", name_template, "name-template", name_template,
"direction", direction, "presence", presence, "caps", caps, NULL);
#if 0
/* FIXME: enable this after gst-ffmpeg-0.10.6 and
* gst-plugins-good-0.10.11 have been released. Previous versions
* depend on broken core behavior. */
if (caps)
gst_caps_unref (caps);
#endif
return new;
}