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

https://bugzilla.gnome.org/show_bug.cgi?id=756282
This commit is contained in:
Tim-Philipp Müller 2016-02-17 15:15:11 +00:00
parent 3b970e9b5e
commit fb0bc126c9
6 changed files with 30 additions and 0 deletions

View file

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

View file

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

View file

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

View file

@ -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__ */

View file

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

View file

@ -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__ */