projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8198263
)
Reference the caps used as filtercaps
author
David Schleef
<ds@schleef.org>
Mon, 14 Jul 2003 08:23:28 +0000
(08:23 +0000)
committer
David Schleef
<ds@schleef.org>
Mon, 14 Jul 2003 08:23:28 +0000
(08:23 +0000)
Original commit message from CVS:
Reference the caps used as filtercaps
gst/parse/grammar.y
patch
|
blob
|
history
diff --git
a/gst/parse/grammar.y
b/gst/parse/grammar.y
index
5522dfd
..
7cdb274
100644
(file)
--- a/
gst/parse/grammar.y
+++ b/
gst/parse/grammar.y
@@
-611,6
+611,8
@@
link: linkpart LINK linkpart { $$ = $1;
if (!$$->caps)
ERROR (GST_PARSE_ERROR_LINK, "could not parse caps \"%s\"", $2);
gst_parse_strfree ($2);
+ gst_caps_ref($$->caps);
+ gst_caps_sink($$->caps);
}
$$->sink_name = $3->src_name;
$$->sink_pads = $3->src_pads;