srtsrc: remove dead code

Remove code useless since
132e3a1af9

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/967>
This commit is contained in:
Stéphane Cerveau 2021-05-19 16:00:13 +02:00 committed by GStreamer Marge Bot
parent 8e5a4246b9
commit eb1f21b484

View 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);