videoaggregator: Remove unlock() if set_info() fails
authorSebastian Dröge <sebastian@centricular.com>
Wed, 14 Dec 2016 13:35:42 +0000 (15:35 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 14 Dec 2016 13:35:42 +0000 (15:35 +0200)
There is not mutex locked here that needs to be unlocked.

gst-libs/gst/video/gstvideoaggregator.c

index d1e4c90..ea2d104 100644 (file)
@@ -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;
         }
       }