yadif: basetransform is creating pads for us already, don't do it twice
This commit is contained in:
parent
5cd10a10ab
commit
fec55b42c9
@ -165,12 +165,6 @@ gst_yadif_class_init (GstYadifClass * klass)
|
|||||||
static void
|
static void
|
||||||
gst_yadif_init (GstYadif * yadif)
|
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
|
void
|
||||||
|
@ -45,9 +45,6 @@ struct _GstYadif
|
|||||||
{
|
{
|
||||||
GstBaseTransform base_yadif;
|
GstBaseTransform base_yadif;
|
||||||
|
|
||||||
GstPad *sinkpad;
|
|
||||||
GstPad *srcpad;
|
|
||||||
|
|
||||||
GstDeinterlaceMode mode;
|
GstDeinterlaceMode mode;
|
||||||
|
|
||||||
GstVideoInfo video_info;
|
GstVideoInfo video_info;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user