mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-07 23:12:42 +00:00
srtsrc: fix case fallthrough of authentication param
Add missing breaks to two case statements. Also adds a missing lock of srtobject->element when getting the value of PROP_AUTHENTICATION. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7127>
This commit is contained in:
parent
bad0daeb8f
commit
63196c2ae7
2 changed files with 8 additions and 4 deletions
|
@ -238705,7 +238705,7 @@
|
||||||
"construct": false,
|
"construct": false,
|
||||||
"construct-only": false,
|
"construct-only": false,
|
||||||
"controllable": false,
|
"controllable": false,
|
||||||
"default": "true",
|
"default": "false",
|
||||||
"mutable": "null",
|
"mutable": "null",
|
||||||
"readable": true,
|
"readable": true,
|
||||||
"type": "gboolean",
|
"type": "gboolean",
|
||||||
|
@ -238953,7 +238953,7 @@
|
||||||
"construct": false,
|
"construct": false,
|
||||||
"construct-only": false,
|
"construct-only": false,
|
||||||
"controllable": false,
|
"controllable": false,
|
||||||
"default": "true",
|
"default": "false",
|
||||||
"mutable": "null",
|
"mutable": "null",
|
||||||
"readable": true,
|
"readable": true,
|
||||||
"type": "gboolean",
|
"type": "gboolean",
|
||||||
|
@ -239261,7 +239261,7 @@
|
||||||
"construct": false,
|
"construct": false,
|
||||||
"construct-only": false,
|
"construct-only": false,
|
||||||
"controllable": false,
|
"controllable": false,
|
||||||
"default": "true",
|
"default": "false",
|
||||||
"mutable": "null",
|
"mutable": "null",
|
||||||
"readable": true,
|
"readable": true,
|
||||||
"type": "gboolean",
|
"type": "gboolean",
|
||||||
|
@ -239498,7 +239498,7 @@
|
||||||
"construct": false,
|
"construct": false,
|
||||||
"construct-only": false,
|
"construct-only": false,
|
||||||
"controllable": false,
|
"controllable": false,
|
||||||
"default": "true",
|
"default": "false",
|
||||||
"mutable": "null",
|
"mutable": "null",
|
||||||
"readable": true,
|
"readable": true,
|
||||||
"type": "gboolean",
|
"type": "gboolean",
|
||||||
|
|
|
@ -447,6 +447,7 @@ gst_srt_object_set_property_helper (GstSRTObject * srtobject,
|
||||||
break;
|
break;
|
||||||
case PROP_AUTHENTICATION:
|
case PROP_AUTHENTICATION:
|
||||||
srtobject->authentication = g_value_get_boolean (value);
|
srtobject->authentication = g_value_get_boolean (value);
|
||||||
|
break;
|
||||||
case PROP_AUTO_RECONNECT:
|
case PROP_AUTO_RECONNECT:
|
||||||
srtobject->auto_reconnect = g_value_get_boolean (value);
|
srtobject->auto_reconnect = g_value_get_boolean (value);
|
||||||
break;
|
break;
|
||||||
|
@ -555,7 +556,10 @@ gst_srt_object_get_property_helper (GstSRTObject * srtobject,
|
||||||
GST_OBJECT_UNLOCK (srtobject->element);
|
GST_OBJECT_UNLOCK (srtobject->element);
|
||||||
break;
|
break;
|
||||||
case PROP_AUTHENTICATION:
|
case PROP_AUTHENTICATION:
|
||||||
|
GST_OBJECT_LOCK (srtobject->element);
|
||||||
g_value_set_boolean (value, srtobject->authentication);
|
g_value_set_boolean (value, srtobject->authentication);
|
||||||
|
GST_OBJECT_UNLOCK (srtobject->element);
|
||||||
|
break;
|
||||||
case PROP_AUTO_RECONNECT:
|
case PROP_AUTO_RECONNECT:
|
||||||
GST_OBJECT_LOCK (srtobject->element);
|
GST_OBJECT_LOCK (srtobject->element);
|
||||||
g_value_set_boolean (value, srtobject->auto_reconnect);
|
g_value_set_boolean (value, srtobject->auto_reconnect);
|
||||||
|
|
Loading…
Reference in a new issue