mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
basesink: plug caps leak
This commit is contained in:
parent
7485b66d06
commit
dad68cb180
1 changed files with 1 additions and 0 deletions
|
@ -4546,6 +4546,7 @@ gst_base_sink_default_query (GstBaseSink * basesink, GstQuery * query)
|
|||
gst_query_parse_accept_caps (query, &caps);
|
||||
allowed = gst_base_sink_query_caps (basesink, basesink->sinkpad, NULL);
|
||||
subset = gst_caps_is_subset (caps, allowed);
|
||||
gst_caps_unref (allowed);
|
||||
gst_query_set_accept_caps_result (query, subset);
|
||||
res = TRUE;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue