Revert "basesink: Take PREROLL_LOCK in wait_event()"

This reverts commit 828a4627db.

The lock was already taken elsewhere, in gst_base_sink_event().
This commit is contained in:
Sebastian Dröge 2016-04-12 15:17:36 +03:00
parent 828a4627db
commit 00e4499b15

View file

@ -3038,12 +3038,10 @@ gst_base_sink_wait_event (GstBaseSink * basesink, GstEvent * event)
bclass = GST_BASE_SINK_GET_CLASS (basesink);
GST_BASE_SINK_PREROLL_LOCK (basesink);
if (G_LIKELY (bclass->wait_event))
ret = bclass->wait_event (basesink, event);
else
ret = GST_FLOW_NOT_SUPPORTED;
GST_BASE_SINK_PREROLL_UNLOCK (basesink);
return ret;
}