videoaggregator: Unref allowed caps after usage
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734522
This commit is contained in:
parent
4dde567480
commit
ee09d332bd
@ -386,6 +386,8 @@ gst_videoaggregator_update_converters (GstVideoAggregator * vagg)
|
||||
if (!downstream_caps || gst_caps_is_empty (downstream_caps)) {
|
||||
GST_INFO_OBJECT (vagg, "No downstream caps found %"
|
||||
GST_PTR_FORMAT, downstream_caps);
|
||||
if (downstream_caps)
|
||||
gst_caps_unref (downstream_caps);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user