projects
/
platform
/
upstream
/
gstreamer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- implement FLOATING flag on caps/props
[platform/upstream/gstreamer.git]
/
gst
/
gstparse.c
diff --git
a/gst/gstparse.c
b/gst/gstparse.c
index
2b9138b
..
ec2874a
100644
(file)
--- a/
gst/gstparse.c
+++ b/
gst/gstparse.c
@@
-262,6
+262,9
@@
make_links (graph_t *g, GError **error)
a = c->src_pads;
b = c->sink_pads;
caps = c->caps;
+ gst_caps_ref (caps);
+ gst_caps_sink (caps);
+
gst_caps_debug (caps, "foo");
/* g_print ("a: %p, b: %p\n", a, b); */
if (a && b) {
@@
-363,6
+366,7
@@
make_links (graph_t *g, GError **error)
}
}
next:
+ gst_caps_unref (caps);
l = g_list_next (l);
}