From 91972c91aa56763cdcfa7b70a49960b4f2c22e9b Mon Sep 17 00:00:00 2001 From: Julian Bouzas Date: Thu, 13 Aug 2020 15:27:25 -0400 Subject: [PATCH] rtp: Do not register rtpreddec and rtpredenc twice Part-of: --- gst/rtp/gstrtp.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/gst/rtp/gstrtp.c b/gst/rtp/gstrtp.c index b0ab05527d..b2a6706e17 100644 --- a/gst/rtp/gstrtp.c +++ b/gst/rtp/gstrtp.c @@ -117,8 +117,6 @@ #include "gstrtpreddec.h" #include "gstrtpulpfecdec.h" #include "gstrtpulpfecenc.h" -#include "gstrtpreddec.h" -#include "gstrtpredenc.h" #include "gstrtpstorage.h" static gboolean @@ -411,14 +409,6 @@ plugin_init (GstPlugin * plugin) GST_TYPE_RTP_ULPFEC_ENC)) return FALSE; - if (!gst_element_register (plugin, "rtpreddec", GST_RANK_NONE, - GST_TYPE_RTP_RED_DEC)) - return FALSE; - - if (!gst_element_register (plugin, "rtpredenc", GST_RANK_NONE, - GST_TYPE_RTP_RED_ENC)) - return FALSE; - if (!gst_element_register (plugin, "rtpstorage", GST_RANK_NONE, GST_TYPE_RTP_STORAGE)) return FALSE;