From: Jakub Adam Date: Tue, 25 Aug 2020 11:44:42 +0000 (+0200) Subject: srtsink: remove unused connection_mode variable X-Git-Tag: 1.19.3~507^2~911 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1e461b3166ee513e6a5ae1b0a56d0d8cc04bb55d;p=platform%2Fupstream%2Fgstreamer.git srtsink: remove unused connection_mode variable Part-of: --- diff --git a/ext/srt/gstsrtsink.c b/ext/srt/gstsrtsink.c index 5eeecd20be..ad3ff094ba 100644 --- a/ext/srt/gstsrtsink.c +++ b/ext/srt/gstsrtsink.c @@ -146,14 +146,10 @@ static gboolean gst_srt_sink_start (GstBaseSink * bsink) { GstSRTSink *self = GST_SRT_SINK (bsink); - GstSRTConnectionMode connection_mode = GST_SRT_CONNECTION_MODE_NONE; GError *error = NULL; gboolean ret = FALSE; - gst_structure_get_enum (self->srtobject->parameters, "mode", - GST_TYPE_SRT_CONNECTION_MODE, (gint *) & connection_mode); - ret = gst_srt_object_open (self->srtobject, self->cancellable, &error); if (!ret) {