From 5355a3efd70dbcd4d888764f956942a31322413d Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Mon, 28 Jun 2010 21:48:26 -0300 Subject: [PATCH] camerabin: Remove useless src template pad camerabin imagebin doesn't need a src template pad. --- gst/camerabin/camerabinimage.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/gst/camerabin/camerabinimage.c b/gst/camerabin/camerabinimage.c index 946594f9b2..a939772be0 100644 --- a/gst/camerabin/camerabinimage.c +++ b/gst/camerabin/camerabinimage.c @@ -91,11 +91,6 @@ static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_ALWAYS, GST_STATIC_CAPS_ANY); -static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src", - GST_PAD_SRC, - GST_PAD_ALWAYS, - GST_STATIC_CAPS_ANY); - static void gst_camerabin_image_base_init (gpointer klass) { @@ -103,8 +98,6 @@ gst_camerabin_image_base_init (gpointer klass) gst_element_class_add_pad_template (eklass, gst_static_pad_template_get (&sink_template)); - gst_element_class_add_pad_template (eklass, - gst_static_pad_template_get (&src_template)); gst_element_class_set_details_simple (eklass, "Image capture bin for camerabin", "Bin/Image", "Process and store image data",