From 07f9b4f6582d181848fdd2353a9cd995afd2e523 Mon Sep 17 00:00:00 2001 From: Philippe Kalaf Date: Thu, 13 Apr 2006 03:42:51 +0000 Subject: gst/rtp/: Ported mulaw and alaw payloaders to use new base class Original commit message from CVS: 2006-04-12 Philippe Kalaf * gst/rtp/gstrtppcmapay.c: * gst/rtp/gstrtppcmapay.h: * gst/rtp/gstrtppcmupay.c: * gst/rtp/gstrtppcmupay.h: Ported mulaw and alaw payloaders to use new base class * gst/rtp/Makefile.am: * gst/rtp/gstrtp.c: * gst/rtp/gstrtpilbcpay.c: * gst/rtp/gstrtpilbcpay.h: * gst/rtp/gstrtpilbcdepay.c: * gst/rtp/gstrtpilbcdepay.h: Added new iLBC payloader/depayloader. Payloader uses new audio payload base class. --- gst/rtp/gstrtppcmupay.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'gst/rtp/gstrtppcmupay.h') diff --git a/gst/rtp/gstrtppcmupay.h b/gst/rtp/gstrtppcmupay.h index 046071bd..7b736054 100644 --- a/gst/rtp/gstrtppcmupay.h +++ b/gst/rtp/gstrtppcmupay.h @@ -17,8 +17,7 @@ #define __GST_RTP_PCMU_PAY_H__ #include -#include -#include +#include G_BEGIN_DECLS @@ -38,16 +37,12 @@ typedef struct _GstRtpPcmuPayClass GstRtpPcmuPayClass; struct _GstRtpPcmuPay { - GstBaseRTPPayload payload; - GstAdapter *adapter; - - GstClockTime first_ts; - GstClockTime duration; + GstBaseRTPAudioPayload audiopayload; }; struct _GstRtpPcmuPayClass { - GstBaseRTPPayloadClass parent_class; + GstBaseRTPAudioPayloadClass parent_class; }; gboolean gst_rtp_pcmu_pay_plugin_init (GstPlugin * plugin); -- cgit