Commit 8e84f160 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

winegstreamer: Don't grab filter_cs in activate_push().

There's no good reason to do this; we're not protecting anything that isn't already protected by GStreamer locks. Signed-off-by: 's avatarZebediah Figura <z.figura12@gmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 5482400a
......@@ -1421,7 +1421,6 @@ static gboolean activate_push(GstPad *pad, gboolean activate)
{
struct parser *This = gst_pad_get_element_private(pad);
EnterCriticalSection(&This->filter.filter_cs);
if (!activate) {
TRACE("Deactivating\n");
if (This->push_thread) {
......@@ -1441,7 +1440,6 @@ static gboolean activate_push(GstPad *pad, gboolean activate)
return FALSE;
}
}
LeaveCriticalSection(&This->filter.filter_cs);
return TRUE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment