intersubsrc: basesrc is already creating a pad for us, no need to do it twice

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

View file

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

View file

@ -38,7 +38,6 @@ struct _GstInterSubSrc
{
GstBaseSrc base_intersubsrc;
GstPad *srcpad;
GstInterSurface *surface;
char *channel;