ges-source: do not emit no-more-pads on child element

This most likely never caused any issues as we don't connect to
no-more-pads in the first place, and the element isn't directly exposed
to the user, but emitting it makes no sense, and we are actually going
to connect to no-more-pads in a subsequent commit.

The call was added in 86b893e54c, a patch
by me in 2013, I have no idea why but I probably didn't have a firm
grasp on what I was doing then.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3971>
This commit is contained in:
Mathieu Duponchelle 2023-02-15 15:33:39 +01:00 committed by GStreamer Marge Bot
parent 585d2d93f6
commit 2fd2af9420

View file

@ -131,8 +131,6 @@ _set_ghost_pad_target (GESSource * self, GstPad * srcpad, GstElement * element)
if (!gst_ghost_pad_set_target (GST_GHOST_PAD (priv->ghostpad), srcpad))
GST_ERROR_OBJECT (self, "Could not set ghost target");
}
gst_element_no_more_pads (element);
}
/* @elements: (transfer-full) */