It's not necessary there as the group lock already protects everything
we access here and causes deadlocks in some cases.
Fixes bug #673708.
GstElement *sink;
GstPad *sinkpad = NULL;
GstElement *sink;
GstPad *sinkpad = NULL;
- GST_PLAY_BIN_LOCK (group->playbin);
GST_SOURCE_GROUP_LOCK (group);
if ((sink = group->playbin->text_sink))
GST_SOURCE_GROUP_LOCK (group);
if ((sink = group->playbin->text_sink))
done:
GST_SOURCE_GROUP_UNLOCK (group);
done:
GST_SOURCE_GROUP_UNLOCK (group);
- GST_PLAY_BIN_UNLOCK (group->playbin);
GST_DEBUG_OBJECT (group->playbin,
"continue autoplugging group %p for %s:%s, %" GST_PTR_FORMAT ": %d",
GST_DEBUG_OBJECT (group->playbin,
"continue autoplugging group %p for %s:%s, %" GST_PTR_FORMAT ": %d",