yadif: basetransform is creating pads for us already, don't do it twice

This commit is contained in:
Sebastian Dröge 2014-06-29 22:18:41 +02:00
parent 5cd10a10ab
commit fec55b42c9
2 changed files with 0 additions and 9 deletions

View file

@ -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

View file

@ -45,9 +45,6 @@ struct _GstYadif
{
GstBaseTransform base_yadif;
GstPad *sinkpad;
GstPad *srcpad;
GstDeinterlaceMode mode;
GstVideoInfo video_info;