commit the file

Original commit message from CVS:
commit the file
This commit is contained in:
Andy Wingo 2005-06-23 09:41:41 +00:00
parent 3746540c8c
commit 678bb923f1

View file

@ -1726,12 +1726,6 @@ gst_pad_set_caps (GstPad * pad, GstCaps * caps)
} }
} }
if (GST_PAD_CAPS (pad))
gst_caps_unref (GST_PAD_CAPS (pad));
if (caps)
caps = gst_caps_ref (caps);
gst_caps_replace (&GST_PAD_CAPS (pad), caps); gst_caps_replace (&GST_PAD_CAPS (pad), caps);
GST_CAT_DEBUG (GST_CAT_CAPS, "%s:%s caps %" GST_PTR_FORMAT, GST_CAT_DEBUG (GST_CAT_CAPS, "%s:%s caps %" GST_PTR_FORMAT,
GST_DEBUG_PAD_NAME (pad), caps); GST_DEBUG_PAD_NAME (pad), caps);