diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2014-06-29 22:20:51 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-06-29 22:20:51 +0200 |
commit | d09f145ad72af4f64ef6e0ce479f660cf4b6c8b6 (patch) | |
tree | 6485b776e1075c410d610b8d4aa3d171562612da | |
parent | fec55b42c990da66d50bb5af4ea83d67fc640b9d (diff) | |
download | gstreamer-plugins-bad-d09f145ad72af4f64ef6e0ce479f660cf4b6c8b6.tar.gz |
intersubsrc: basesrc is already creating a pad for us, no need to do it twice
-rw-r--r-- | gst/inter/gstintersubsrc.c | 4 | ||||
-rw-r--r-- | gst/inter/gstintersubsrc.h | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/gst/inter/gstintersubsrc.c b/gst/inter/gstintersubsrc.c index 68fc8d596..3b6cc60ec 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 874b6a9f4..a9d757e17 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; |