mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-09 13:21:16 +00:00
videoaggregator: fix bufferpool leak
that happens if it fails to activate the pool Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6025>
This commit is contained in:
parent
bf7f4eef20
commit
2d7d9f35f5
1 changed files with 1 additions and 0 deletions
|
@ -2852,6 +2852,7 @@ gst_video_aggregator_create_output_buffer (GstVideoAggregator * videoaggregator,
|
|||
GST_ELEMENT_ERROR (videoaggregator, RESOURCE, SETTINGS,
|
||||
("failed to activate bufferpool"),
|
||||
("failed to activate bufferpool"));
|
||||
gst_object_unref (pool);
|
||||
return GST_FLOW_ERROR;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue