summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8198263)
raw | patch | inline | side by side (parent: 8198263)
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
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 5522dfda345e913d04ee21d13e47166886f3a427..7cdb27479c57fe1a93c50d85b18d61c932218994 100644 (file)
--- a/gst/parse/grammar.y
+++ b/gst/parse/grammar.y
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;