diff options
author | Daniel Charles <dcharles@ti.com> | 2007-06-01 11:16:17 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2007-06-01 11:16:17 +0000 |
commit | 89ae9b40f9c32d3e8aac4c7c9aafb83d64fa2497 (patch) | |
tree | 38e5008eb73a5214a4a81e33f334b2d23bdbfbd4 /gst/rtp/gstrtpamrpay.h | |
parent | 0b2e6f1c901d105c53141cd9973e3c206c8086ec (diff) |
gst/rtp/: Add support for AMR-WB.
Original commit message from CVS:
Based on Patch by: Daniel Charles <dcharles at ti dot com>
* gst/rtp/gstrtpamrdepay.c: (gst_rtp_amr_depay_setcaps),
(gst_rtp_amr_depay_process):
* gst/rtp/gstrtpamrdepay.h:
* gst/rtp/gstrtpamrpay.c: (gst_rtp_amr_pay_base_init),
(gst_rtp_amr_pay_class_init), (gst_rtp_amr_pay_init),
(gst_rtp_amr_pay_setcaps), (gst_rtp_amr_pay_handle_buffer):
* gst/rtp/gstrtpamrpay.h:
Add support for AMR-WB.
Small cleanups such as using BOILERPLATE.
Diffstat (limited to 'gst/rtp/gstrtpamrpay.h')
-rw-r--r-- | gst/rtp/gstrtpamrpay.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gst/rtp/gstrtpamrpay.h b/gst/rtp/gstrtpamrpay.h index bd924d62..5e32ddbc 100644 --- a/gst/rtp/gstrtpamrpay.h +++ b/gst/rtp/gstrtpamrpay.h @@ -40,9 +40,17 @@ G_BEGIN_DECLS typedef struct _GstRtpAMRPay GstRtpAMRPay; typedef struct _GstRtpAMRPayClass GstRtpAMRPayClass; +typedef enum { + GST_RTP_AMR_P_MODE_INVALID = 0, + GST_RTP_AMR_P_MODE_NB = 1, + GST_RTP_AMR_P_MODE_WB = 2 +} GstRtpAMRPayMode; + struct _GstRtpAMRPay { GstBaseRTPPayload payload; + + GstRtpAMRPayMode mode; }; struct _GstRtpAMRPayClass |