diff options
author | Philippe Kalaf <philippe.kalaf@collabora.co.uk> | 2006-04-13 03:42:51 +0000 |
---|---|---|
committer | Philippe Kalaf <philippe.kalaf@collabora.co.uk> | 2006-04-13 03:42:51 +0000 |
commit | 07f9b4f6582d181848fdd2353a9cd995afd2e523 (patch) | |
tree | 64e3c87aae82c4fa12efb5b19cb70392138b6222 /gst/rtp/gstrtppcmapay.h | |
parent | 5f89255bebc9449f726f265869fd809beeffbea5 (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/gstrtppcmapay.h')
-rw-r--r-- | gst/rtp/gstrtppcmapay.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/gst/rtp/gstrtppcmapay.h b/gst/rtp/gstrtppcmapay.h index 0d498544..9c8557e2 100644 --- a/gst/rtp/gstrtppcmapay.h +++ b/gst/rtp/gstrtppcmapay.h @@ -17,8 +17,7 @@ #define __GST_RTP_PCMA_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 _GstRtpPmcaPayClass GstRtpPmcaPayClass; struct _GstRtpPmcaPay { - GstBaseRTPPayload payload; - GstAdapter *adapter; - - GstClockTime first_ts; - GstClockTime duration; + GstBaseRTPAudioPayload audiopayload; }; struct _GstRtpPmcaPayClass { - GstBaseRTPPayloadClass parent_class; + GstBaseRTPAudioPayloadClass parent_class; }; gboolean gst_rtp_pcma_pay_plugin_init (GstPlugin * plugin); |