Commit fb0bc126 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller

rtp: opus: move Opus RTP payloader/depayloader from -bad to -good

https://bugzilla.gnome.org/show_bug.cgi?id=756282
parent 3b970e9b
......@@ -68,6 +68,8 @@ libgstrtp_la_SOURCES = \
gstrtpmp4gpay.c \
gstrtpmp4adepay.c \
gstrtpmp4apay.c \
gstrtpopusdepay.c \
gstrtpopuspay.c \
gstrtpqcelpdepay.c \
gstrtpqdmdepay.c \
gstrtpsbcdepay.c \
......@@ -174,6 +176,8 @@ noinst_HEADERS = \
gstrtpmp4gpay.h \
gstrtpmp4adepay.h \
gstrtpmp4apay.h \
gstrtpopusdepay.h \
gstrtpopuspay.h \
gstasteriskh263.h \
gstrtpqcelpdepay.h \
gstrtpqdmdepay.h \
......
......@@ -56,6 +56,8 @@
#include "gstrtpmparobustdepay.h"
#include "gstrtpmpvdepay.h"
#include "gstrtpmpvpay.h"
#include "gstrtpopusdepay.h"
#include "gstrtpopuspay.h"
#include "gstrtph261pay.h"
#include "gstrtph261depay.h"
#include "gstrtph263pdepay.h"
......@@ -212,6 +214,12 @@ plugin_init (GstPlugin * plugin)
if (!gst_rtp_mpv_pay_plugin_init (plugin))
return FALSE;
if (!gst_rtp_opus_depay_plugin_init (plugin))
return FALSE;
if (!gst_rtp_opus_pay_plugin_init (plugin))
return FALSE;
if (!gst_rtp_h261_pay_plugin_init (plugin))
return FALSE;
......
......@@ -173,3 +173,10 @@ gst_rtp_opus_depay_process (GstRTPBaseDepayload * depayload, GstBuffer * buf)
return outbuf;
}
gboolean
gst_rtp_opus_depay_plugin_init (GstPlugin * plugin)
{
return gst_element_register (plugin, "rtpopusdepay",
GST_RANK_PRIMARY, GST_TYPE_RTP_OPUS_DEPAY);
}
......@@ -53,5 +53,7 @@ struct _GstRTPOpusDepayClass
GType gst_rtp_opus_depay_get_type (void);
gboolean gst_rtp_opus_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS
#endif /* __GST_RTP_OPUS_DEPAY_H__ */
......@@ -276,3 +276,10 @@ gst_rtp_opus_pay_getcaps (GstRTPBasePayload * payload,
GST_DEBUG_OBJECT (payload, "Returning caps: %" GST_PTR_FORMAT, caps);
return caps;
}
gboolean
gst_rtp_opus_pay_plugin_init (GstPlugin * plugin)
{
return gst_element_register (plugin, "rtpopuspay",
GST_RANK_PRIMARY, GST_TYPE_RTP_OPUS_PAY);
}
......@@ -53,6 +53,8 @@ struct _GstRtpOPUSPayClass
GType gst_rtp_opus_pay_get_type (void);
gboolean gst_rtp_opus_pay_plugin_init (GstPlugin * plugin);
G_END_DECLS
#endif /* __GST_RTP_OPUS_PAY_H__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment