summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2012-01-12 17:11:14 +0000
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2012-01-12 17:11:14 +0000
commit76a481c726895d945be56bac45b38968602cab9d (patch)
tree91737acb55ef30df89a013065f31e50df2a1067a
parenta940c6a84d06d9b5fc5e346dbca11b57275679d6 (diff)
patchdetect: remove (leaking) dead code
-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;