rtp: Do not register rtpreddec and rtpredenc twice

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/699>
This commit is contained in:
Julian Bouzas 2020-08-13 15:27:25 -04:00
parent e4ce9887cd
commit 91972c91aa

View file

@ -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;