mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue