summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gst/patchdetect/gstpatchdetect.c6
-rw-r--r--gst/patchdetect/gstpatchdetect.h3
2 files changed, 0 insertions, 9 deletions
diff --git a/gst/patchdetect/gstpatchdetect.c b/gst/patchdetect/gstpatchdetect.c
index 8926a5987..71308dbce 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 1f29218aa..acf23e076 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;