summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorJan Schmidt <jan@centricular.com>2018-07-14 23:02:05 +1000
committerJan Schmidt <jan@centricular.com>2018-07-14 23:18:50 +1000
commitcb750efd6ce0f2c96b2edc3ae8b62deed77acfe3 (patch)
tree2e71ae4105e44e6de004a941599e73f2c34f882a /gst-libs
parent3a6777d59932c3ef1de0999c10e8d43ce1e9bce1 (diff)
downloadgstreamer-plugins-bad-cb750efd6ce0f2c96b2edc3ae8b62deed77acfe3.tar.gz
webrtc: Move dtlssrtpenc state management
Move the errant piece of dtlssrtpenc state change management from dtlstransport in the Webrtc libs, into the transportsendbin that does the rest of the element management so it's all in one place.
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/webrtc/dtlstransport.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gst-libs/gst/webrtc/dtlstransport.c b/gst-libs/gst/webrtc/dtlstransport.c
index 9c06253e3..c3b2d519d 100644
--- a/gst-libs/gst/webrtc/dtlstransport.c
+++ b/gst-libs/gst/webrtc/dtlstransport.c
@@ -84,8 +84,6 @@ gst_webrtc_dtls_transport_set_property (GObject * object, guint prop_id,
case PROP_CLIENT:
g_object_set_property (G_OBJECT (webrtc->dtlssrtpenc), "is-client",
value);
- gst_element_set_locked_state (webrtc->dtlssrtpenc, FALSE);
- gst_element_sync_state_with_parent (webrtc->dtlssrtpenc);
break;
case PROP_CERTIFICATE:
g_object_set_property (G_OBJECT (webrtc->dtlssrtpdec), "pem", value);