bad:srtsrc: remove dead code 84/280284/1
authorStéphane Cerveau <scerveau@collabora.com>
Wed, 19 May 2021 14:00:13 +0000 (16:00 +0200)
committerEunhye Choi <eunhae1.choi@samsung.com>
Fri, 26 Aug 2022 07:35:43 +0000 (16:35 +0900)
Remove code useless since
132e3a1af9deb1d2cdf84d22b954967207bcc03a

Change-Id: I56f6412982cb1b7f3c07336c4f18fb379566bdde
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/967>

subprojects/gst-plugins-bad/ext/srt/gstsrtsrc.c

index 7a47f40..7c08b20 100644 (file)
@@ -110,10 +110,6 @@ gst_srt_src_start (GstBaseSrc * bsrc)
   GstSRTSrc *self = GST_SRT_SRC (bsrc);
   GError *error = NULL;
   gboolean ret = FALSE;
-  GstSRTConnectionMode connection_mode = GST_SRT_CONNECTION_MODE_NONE;
-
-  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);