From 678bb923f18c80d2071fef2ffee89585ee5fb3b0 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Thu, 23 Jun 2005 09:41:41 +0000 Subject: [PATCH] commit the file Original commit message from CVS: commit the file --- gst/gstpad.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/gst/gstpad.c b/gst/gstpad.c index 9bb9c0c3d0..40b74ddfa9 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -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_CAT_DEBUG (GST_CAT_CAPS, "%s:%s caps %" GST_PTR_FORMAT, GST_DEBUG_PAD_NAME (pad), caps);