selector: don't unset caps
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 6 May 2011 14:14:41 +0000 (16:14 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 6 May 2011 15:39:09 +0000 (17:39 +0200)
tests/check/elements/selector.c

index e210a11..fd6799a 100644 (file)
@@ -120,9 +120,6 @@ cleanup_pad (GstPad * pad, GstElement * element)
     gst_pad_unlink (pad, selpad);
   }
 
-  /* caps could have been set, make sure they get unset */
-  gst_pad_set_caps (pad, NULL);
-
   GST_DEBUG_OBJECT (pad, "clean up %" GST_PTR_FORMAT " and  %" GST_PTR_FORMAT,
       selpad, pad);