Reference the caps used as filtercaps

Original commit message from CVS:
Reference the caps used as filtercaps
This commit is contained in:
David Schleef 2003-07-14 08:23:28 +00:00
parent 8198263d02
commit ee5586e873

View file

@ -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;