videoaggregator: Remove unlock() if set_info() fails

There is not mutex locked here that needs to be unlocked.
This commit is contained in:
Sebastian Dröge 2016-12-14 15:35:42 +02:00
parent 9be02ccb2a
commit e07a7bbf29

View 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;
}
}