check: let the normal code unset caps

This commit is contained in:
Wim Taymans 2011-05-06 16:13:55 +02:00
parent cac9e8fee2
commit 5f06f3b0ae

View file

@ -255,9 +255,6 @@ gst_check_teardown_pad_by_name (GstElement * element, const gchar * name)
gst_pad_unlink (pad_peer, pad_element); gst_pad_unlink (pad_peer, pad_element);
else else
gst_pad_unlink (pad_element, pad_peer); gst_pad_unlink (pad_element, pad_peer);
/* caps could have been set, make sure they get unset */
gst_pad_set_caps (pad_peer, NULL);
} }
/* pad refs held by both creator and this function (through _get) */ /* pad refs held by both creator and this function (through _get) */