mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
srtobject: fix mutex lock target
GstSRTObject is a structure that has an actual GstElement which is extended to srt{src,sink}.
This commit is contained in:
parent
691fdb85c0
commit
04f3f4be4f
1 changed files with 2 additions and 2 deletions
|
@ -283,9 +283,9 @@ gst_srt_object_set_property_helper (GstSRTObject * srtobject,
|
||||||
gst_structure_set_value (srtobject->parameters, "pbkeylen", value);
|
gst_structure_set_value (srtobject->parameters, "pbkeylen", value);
|
||||||
break;
|
break;
|
||||||
case PROP_WAIT_FOR_CONNECTION:
|
case PROP_WAIT_FOR_CONNECTION:
|
||||||
GST_OBJECT_LOCK (srtobject);
|
GST_OBJECT_LOCK (srtobject->element);
|
||||||
srtobject->wait_for_connection = g_value_get_boolean (value);
|
srtobject->wait_for_connection = g_value_get_boolean (value);
|
||||||
GST_OBJECT_UNLOCK (srtobject);
|
GST_OBJECT_UNLOCK (srtobject->element);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in a new issue