From 85420195b22b54f306833be2d4ba66fd2ff6b6e8 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 24 Jan 2007 18:20:14 +0000 Subject: gst/rtp/: Port and enable raw audio payloader/depayloader. Needs a bit more work on the payloader side. Original commit message from CVS: * gst/rtp/Makefile.am: * gst/rtp/gstrtp.c: (plugin_init): * gst/rtp/gstrtpL16depay.c: (gst_rtp_L16_depay_base_init), (gst_rtp_L16_depay_class_init), (gst_rtp_L16_depay_init), (gst_rtp_L16_depay_parse_int), (gst_rtp_L16_depay_setcaps), (gst_rtp_L16_depay_process), (gst_rtp_L16_depay_set_property), (gst_rtp_L16_depay_get_property), (gst_rtp_L16_depay_change_state), (gst_rtp_L16_depay_plugin_init): * gst/rtp/gstrtpL16depay.h: * gst/rtp/gstrtpL16pay.c: (gst_rtp_L16_pay_get_type), (gst_rtp_L16_pay_base_init), (gst_rtp_L16_pay_class_init), (gst_rtp_L16_pay_init), (gst_rtp_L16_pay_finalize), (gst_rtp_L16_pay_setcaps), (gst_rtp_L16_pay_handle_buffer), (gst_rtp_L16_pay_plugin_init): * gst/rtp/gstrtpL16pay.h: Port and enable raw audio payloader/depayloader. Needs a bit more work on the payloader side. --- 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 9dffaee1..61544895 100644 --- a/gst/rtp/gstrtp.c +++ b/gst/rtp/gstrtp.c @@ -40,6 +40,8 @@ #include "gstrtph263ppay.h" #include "gstrtph263pay.h" #include "gstrtph264depay.h" +#include "gstrtpL16depay.h" +#include "gstrtpL16pay.h" #include "gstasteriskh263.h" #include "gstrtpmp2tdepay.h" #include "gstrtpmp4vdepay.h" @@ -114,6 +116,12 @@ plugin_init (GstPlugin * plugin) if (!gst_rtp_h264_depay_plugin_init (plugin)) return FALSE; + if (!gst_rtp_L16_pay_plugin_init (plugin)) + return FALSE; + + if (!gst_rtp_L16_depay_plugin_init (plugin)) + return FALSE; + if (!gst_asteriskh263_plugin_init (plugin)) return FALSE; -- cgit