From d09f145ad72af4f64ef6e0ce479f660cf4b6c8b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 29 Jun 2014 22:20:51 +0200 Subject: [PATCH] intersubsrc: basesrc is already creating a pad for us, no need to do it twice --- gst/inter/gstintersubsrc.c | 4 ---- gst/inter/gstintersubsrc.h | 1 - 2 files changed, 5 deletions(-) diff --git a/gst/inter/gstintersubsrc.c b/gst/inter/gstintersubsrc.c index 68fc8d5963..3b6cc60ecf 100644 --- a/gst/inter/gstintersubsrc.c +++ b/gst/inter/gstintersubsrc.c @@ -120,10 +120,6 @@ gst_inter_sub_src_class_init (GstInterSubSrcClass * klass) static void gst_inter_sub_src_init (GstInterSubSrc * intersubsrc) { - - intersubsrc->srcpad = - gst_pad_new_from_static_template (&gst_inter_sub_src_src_template, "src"); - gst_base_src_set_format (GST_BASE_SRC (intersubsrc), GST_FORMAT_TIME); gst_base_src_set_live (GST_BASE_SRC (intersubsrc), TRUE); diff --git a/gst/inter/gstintersubsrc.h b/gst/inter/gstintersubsrc.h index 874b6a9f44..a9d757e171 100644 --- a/gst/inter/gstintersubsrc.h +++ b/gst/inter/gstintersubsrc.h @@ -38,7 +38,6 @@ struct _GstInterSubSrc { GstBaseSrc base_intersubsrc; - GstPad *srcpad; GstInterSurface *surface; char *channel;