From 76a481c726895d945be56bac45b38968602cab9d Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Thu, 12 Jan 2012 17:11:14 +0000 Subject: [PATCH] patchdetect: remove (leaking) dead code --- gst/patchdetect/gstpatchdetect.c | 6 ------ gst/patchdetect/gstpatchdetect.h | 3 --- 2 files changed, 9 deletions(-) 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;