mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
Reference the caps used as filtercaps
Original commit message from CVS: Reference the caps used as filtercaps
This commit is contained in:
parent
8198263d02
commit
ee5586e873
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue