selector: don't unset caps

This commit is contained in:
Wim Taymans 2011-05-06 16:14:41 +02:00
parent 8ca3f9e71a
commit e444493793

View 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);