diff options
author | David Schleef <ds@schleef.org> | 2013-03-19 17:28:16 -0700 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2013-03-19 17:28:16 -0700 |
commit | 9e7db279666cd9a6de0ab587b84b5bc4e6cb5dec (patch) | |
tree | b8f8395c09a854c0bcbcc851f3c23e6cac5c3f02 /tools/element-templates/srcpad-template-video | |
parent | db40edff174e405f50919d9ed4023772e603d729 (diff) | |
download | gstreamer-plugins-bad-9e7db279666cd9a6de0ab587b84b5bc4e6cb5dec.tar.gz |
element-maker: remove sinkpad/srcpad fields
Information is in the base class anyway, plus pad creation was
done incorrectly.
Diffstat (limited to 'tools/element-templates/srcpad-template-video')
-rw-r--r-- | tools/element-templates/srcpad-template-video | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/element-templates/srcpad-template-video b/tools/element-templates/srcpad-template-video index 6e233dfe1..bee70859f 100644 --- a/tools/element-templates/srcpad-template-video +++ b/tools/element-templates/srcpad-template-video @@ -1,7 +1,6 @@ /* vim: set filetype=c: */ % instance-members - GstPad *srcpad; % prototypes % pad-template /* FIXME: add/remove formats you can handle */ @@ -19,8 +18,6 @@ GST_STATIC_PAD_TEMPLATE ("src", gst_element_class_add_pad_template (GST_ELEMENT_CLASS(klass), gst_static_pad_template_get (&gst_replace_src_template)); % instance-init - replace->srcpad = gst_pad_new_from_static_template ( - &gst_replace_src_template, "src"); % instance-init % methods % end |