gst/gstpadtemplate.c: Revert last change, since it breaks a few plugins, ffmpeg, alaw, and mulaw. Code is correct, b...

Original commit message from CVS:
* gst/gstpadtemplate.c: Revert last change, since it breaks
a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
but shouldn't be enabled until we've released fixed versions
of -good and -ffmpeg.
This commit is contained in:
David Schleef 2008-08-29 00:34:58 +00:00
parent 0dfab1544c
commit 7c90130407
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2008-08-28 David Schleef <ds@schleef.org>
* gst/gstpadtemplate.c: Revert last change, since it breaks
a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
but shouldn't be enabled until we've released fixed versions
of -good and -ffmpeg.
2008-08-28 Stefan Kost <ensonic@users.sf.net> 2008-08-28 Stefan Kost <ensonic@users.sf.net>
* gst/gstobject.c: * gst/gstobject.c:

View file

@ -388,8 +388,13 @@ gst_pad_template_new (const gchar * name_template,
"name", name_template, "name-template", name_template, "name", name_template, "name-template", name_template,
"direction", direction, "presence", presence, "caps", caps, NULL); "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) if (caps)
gst_caps_unref (caps); gst_caps_unref (caps);
#endif
return new; return new;
} }