deinterlace: remove pointless call to gst_element_no_more_pads()
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 1 Nov 2009 15:57:44 +0000 (15:57 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 2 Nov 2009 08:45:53 +0000 (08:45 +0000)
gst/deinterlace/gstdeinterlace.c

index 55e6f7f..47eccda 100644 (file)
@@ -733,8 +733,6 @@ gst_deinterlace_init (GstDeinterlace * self, GstDeinterlaceClass * klass)
       GST_DEBUG_FUNCPTR (gst_deinterlace_setcaps));
   gst_element_add_pad (GST_ELEMENT (self), self->srcpad);
 
-  gst_element_no_more_pads (GST_ELEMENT (self));
-
   self->mode = DEFAULT_MODE;
   gst_deinterlace_set_method (self, DEFAULT_METHOD);
   self->fields = DEFAULT_FIELDS;