mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-28 14:52:24 +00:00
compiler warning fix
Original commit message from CVS: compiler warning fix
This commit is contained in:
parent
0efe35c326
commit
11e28c0146
2 changed files with 1 additions and 3 deletions
|
@ -133,8 +133,6 @@ gst_element_factory_cleanup (GstElementFactory *factory)
|
||||||
padtemplates = factory->padtemplates;
|
padtemplates = factory->padtemplates;
|
||||||
|
|
||||||
while (padtemplates) {
|
while (padtemplates) {
|
||||||
GstPadTemplate *oldtempl = GST_PAD_TEMPLATE (padtemplates->data);
|
|
||||||
|
|
||||||
/* We leak the padtemplates, since they're generally not properly
|
/* We leak the padtemplates, since they're generally not properly
|
||||||
* ref'ed by the factories */
|
* ref'ed by the factories */
|
||||||
/* gst_object_unref (GST_OBJECT (oldtempl)); */
|
/* gst_object_unref (GST_OBJECT (oldtempl)); */
|
||||||
|
|
|
@ -1311,7 +1311,7 @@ gst_pad_get_ghost_pad_list (GstPad *pad)
|
||||||
static GstPadLinkReturn
|
static GstPadLinkReturn
|
||||||
gst_pad_try_set_caps_func (GstRealPad *pad, GstCaps *caps, gboolean notify)
|
gst_pad_try_set_caps_func (GstRealPad *pad, GstCaps *caps, gboolean notify)
|
||||||
{
|
{
|
||||||
GstCaps *oldcaps, *allowed = NULL;
|
GstCaps *allowed = NULL;
|
||||||
GstPadTemplate *template;
|
GstPadTemplate *template;
|
||||||
GstElement *parent = GST_PAD_PARENT (pad);
|
GstElement *parent = GST_PAD_PARENT (pad);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue