mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-24 13:00:36 +00:00
Fix warnings
Original commit message from CVS: Fix warnings
This commit is contained in:
parent
6f6f339f3c
commit
04cd7ede0f
1 changed files with 7 additions and 3 deletions
|
@ -263,8 +263,10 @@ make_links (graph_t *g, GError **error)
|
|||
b = c->sink_pads;
|
||||
caps = c->caps;
|
||||
|
||||
if (caps) {
|
||||
gst_caps_ref (caps);
|
||||
gst_caps_sink (caps);
|
||||
}
|
||||
|
||||
gst_caps_debug (caps, "foo");
|
||||
/* g_print ("a: %p, b: %p\n", a, b); */
|
||||
|
@ -367,7 +369,9 @@ make_links (graph_t *g, GError **error)
|
|||
}
|
||||
}
|
||||
next:
|
||||
if (caps) {
|
||||
gst_caps_unref (caps);
|
||||
}
|
||||
l = g_list_next (l);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue