From e07a7bbf293217157d85714eea224ae3b1e844b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 14 Dec 2016 15:35:42 +0200 Subject: videoaggregator: Remove unlock() if set_info() fails There is not mutex locked here that needs to be unlocked. --- gst-libs/gst/video/gstvideoaggregator.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'gst-libs') diff --git a/gst-libs/gst/video/gstvideoaggregator.c b/gst-libs/gst/video/gstvideoaggregator.c index d1e4c90cc..ea2d10448 100644 --- a/gst-libs/gst/video/gstvideoaggregator.c +++ b/gst-libs/gst/video/gstvideoaggregator.c @@ -796,8 +796,6 @@ gst_video_aggregator_update_src_caps (GstVideoAggregator * vagg) GstVideoAggregatorPad *pad = GST_VIDEO_AGGREGATOR_PAD (l->data); if (!vaggpad_klass->set_info (pad, vagg, &pad->info, &vagg->info)) { - GST_OBJECT_UNLOCK (vagg); - return FALSE; } } -- cgit v1.2.1