summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtppcmupay.h
diff options
context:
space:
mode:
authorPhilippe Kalaf <philippe.kalaf@collabora.co.uk>2006-04-13 03:42:51 +0000
committerPhilippe Kalaf <philippe.kalaf@collabora.co.uk>2006-04-13 03:42:51 +0000
commit07f9b4f6582d181848fdd2353a9cd995afd2e523 (patch)
tree64e3c87aae82c4fa12efb5b19cb70392138b6222 /gst/rtp/gstrtppcmupay.h
parent5f89255bebc9449f726f265869fd809beeffbea5 (diff)
gst/rtp/: Ported mulaw and alaw payloaders to use new base class
Original commit message from CVS: 2006-04-12 Philippe Kalaf <philippe.kalaf@collabora.co.uk> * 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.
Diffstat (limited to 'gst/rtp/gstrtppcmupay.h')
-rw-r--r--gst/rtp/gstrtppcmupay.h11
1 files changed, 3 insertions, 8 deletions
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 <gst/gst.h>
-#include <gst/rtp/gstbasertppayload.h>
-#include <gst/base/gstadapter.h>
+#include <gst/rtp/gstbasertpaudiopayload.h>
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);