summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2014-06-29 22:18:41 +0200
committerSebastian Dröge <sebastian@centricular.com>2014-06-29 22:19:07 +0200
commitfec55b42c990da66d50bb5af4ea83d67fc640b9d (patch)
tree412fc61e079eb2e310342a620cf91b82a1f458e6 /gst
parent5cd10a10ab6194a68eb6137134056a4e80b4c500 (diff)
yadif: basetransform is creating pads for us already, don't do it twice
Diffstat (limited to 'gst')
-rw-r--r--gst/yadif/gstyadif.c6
-rw-r--r--gst/yadif/gstyadif.h3
2 files changed, 0 insertions, 9 deletions
diff --git a/gst/yadif/gstyadif.c b/gst/yadif/gstyadif.c
index 261a2fb10..e4fed610c 100644
--- a/gst/yadif/gstyadif.c
+++ b/gst/yadif/gstyadif.c
@@ -165,12 +165,6 @@ gst_yadif_class_init (GstYadifClass * klass)
static void
gst_yadif_init (GstYadif * yadif)
{
-
- yadif->sinkpad = gst_pad_new_from_static_template (&gst_yadif_sink_template,
- "sink");
-
- yadif->srcpad = gst_pad_new_from_static_template (&gst_yadif_src_template,
- "src");
}
void
diff --git a/gst/yadif/gstyadif.h b/gst/yadif/gstyadif.h
index eb92cbe8d..03a4d3d6d 100644
--- a/gst/yadif/gstyadif.h
+++ b/gst/yadif/gstyadif.h
@@ -45,9 +45,6 @@ struct _GstYadif
{
GstBaseTransform base_yadif;
- GstPad *sinkpad;
- GstPad *srcpad;
-
GstDeinterlaceMode mode;
GstVideoInfo video_info;