mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
intersubsrc: basesrc is already creating a pad for us, no need to do it twice
This commit is contained in:
parent
fec55b42c9
commit
d09f145ad7
2 changed files with 0 additions and 5 deletions
|
@ -120,10 +120,6 @@ gst_inter_sub_src_class_init (GstInterSubSrcClass * klass)
|
||||||
static void
|
static void
|
||||||
gst_inter_sub_src_init (GstInterSubSrc * intersubsrc)
|
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_format (GST_BASE_SRC (intersubsrc), GST_FORMAT_TIME);
|
||||||
gst_base_src_set_live (GST_BASE_SRC (intersubsrc), TRUE);
|
gst_base_src_set_live (GST_BASE_SRC (intersubsrc), TRUE);
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,6 @@ struct _GstInterSubSrc
|
||||||
{
|
{
|
||||||
GstBaseSrc base_intersubsrc;
|
GstBaseSrc base_intersubsrc;
|
||||||
|
|
||||||
GstPad *srcpad;
|
|
||||||
GstInterSurface *surface;
|
GstInterSurface *surface;
|
||||||
char *channel;
|
char *channel;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue