diff --git a/gst/patchdetect/gstpatchdetect.c b/gst/patchdetect/gstpatchdetect.c index 8926a59878..71308dbcea 100644 --- a/gst/patchdetect/gstpatchdetect.c +++ b/gst/patchdetect/gstpatchdetect.c @@ -147,12 +147,6 @@ static void gst_patchdetect_init (GstPatchdetect * patchdetect, GstPatchdetectClass * patchdetect_class) { - - patchdetect->sinkpad = - gst_pad_new_from_static_template (&gst_patchdetect_sink_template, "sink"); - - patchdetect->srcpad = - gst_pad_new_from_static_template (&gst_patchdetect_src_template, "src"); } void diff --git a/gst/patchdetect/gstpatchdetect.h b/gst/patchdetect/gstpatchdetect.h index 1f29218aa8..acf23e0762 100644 --- a/gst/patchdetect/gstpatchdetect.h +++ b/gst/patchdetect/gstpatchdetect.h @@ -37,9 +37,6 @@ struct _GstPatchdetect { GstBaseTransform base_patchdetect; - GstPad *sinkpad; - GstPad *srcpad; - GstVideoFormat format; int width; int height;