mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 04:56:24 +00:00
videoaggregator: Remove unlock() if set_info() fails
There is not mutex locked here that needs to be unlocked.
This commit is contained in:
parent
9be02ccb2a
commit
e07a7bbf29
1 changed files with 0 additions and 2 deletions
|
@ -796,8 +796,6 @@ gst_video_aggregator_update_src_caps (GstVideoAggregator * vagg)
|
||||||
GstVideoAggregatorPad *pad = GST_VIDEO_AGGREGATOR_PAD (l->data);
|
GstVideoAggregatorPad *pad = GST_VIDEO_AGGREGATOR_PAD (l->data);
|
||||||
|
|
||||||
if (!vaggpad_klass->set_info (pad, vagg, &pad->info, &vagg->info)) {
|
if (!vaggpad_klass->set_info (pad, vagg, &pad->info, &vagg->info)) {
|
||||||
GST_OBJECT_UNLOCK (vagg);
|
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue