From dc2d99dc17b766ae02e96b2b72810cd94c8f07d2 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 18 Aug 2005 17:39:17 +0000 Subject: gst/rtp/: Added very simplistic amr payloader. depayloader does not work yet. Original commit message from CVS: * gst/rtp/Makefile.am: * gst/rtp/gstrtp.c: (plugin_init): * gst/rtp/gstrtpamrdec.c: (gst_rtpamrdec_get_type), (gst_rtpamrdec_base_init), (gst_rtpamrdec_class_init), (gst_rtpamrdec_init), (gst_rtpamrdec_chain), (gst_rtpamrdec_set_property), (gst_rtpamrdec_get_property), (gst_rtpamrdec_change_state), (gst_rtpamrdec_plugin_init): * gst/rtp/gstrtpamrdec.h: * gst/rtp/gstrtpamrenc.c: (gst_rtpamrenc_get_type), (gst_rtpamrenc_base_init), (gst_rtpamrenc_class_init), (gst_rtpamrenc_init), (gst_rtpamrenc_chain), (gst_rtpamrenc_set_property), (gst_rtpamrenc_get_property), (gst_rtpamrenc_change_state), (gst_rtpamrenc_plugin_init): * gst/rtp/gstrtpamrenc.h: * gst/rtp/gstrtpmpaenc.c: (gst_rtpmpaenc_class_init), (gst_rtpmpaenc_flush), (gst_rtpmpaenc_chain): Added very simplistic amr payloader. depayloader does not work yet. --- gst/rtp/gstrtp.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gst/rtp/gstrtp.c') diff --git a/gst/rtp/gstrtp.c b/gst/rtp/gstrtp.c index 9715e9a8..02205d23 100644 --- a/gst/rtp/gstrtp.c +++ b/gst/rtp/gstrtp.c @@ -22,6 +22,8 @@ #endif #include "gstrtpdec.h" +#include "gstrtpamrenc.h" +#include "gstrtpamrdec.h" #include "gstrtpmpaenc.h" #include "gstrtpmpadec.h" #include "gstrtph263pdec.h" @@ -33,6 +35,12 @@ plugin_init (GstPlugin * plugin) if (!gst_rtpdec_plugin_init (plugin)) return FALSE; + if (!gst_rtpamrdec_plugin_init (plugin)) + return FALSE; + + if (!gst_rtpamrenc_plugin_init (plugin)) + return FALSE; + if (!gst_rtpmpadec_plugin_init (plugin)) return FALSE; -- cgit