summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtpamrdepay.h
diff options
context:
space:
mode:
authorDaniel Charles <dcharles@ti.com>2007-06-01 11:16:17 +0000
committerWim Taymans <wim.taymans@gmail.com>2007-06-01 11:16:17 +0000
commit89ae9b40f9c32d3e8aac4c7c9aafb83d64fa2497 (patch)
tree38e5008eb73a5214a4a81e33f334b2d23bdbfbd4 /gst/rtp/gstrtpamrdepay.h
parent0b2e6f1c901d105c53141cd9973e3c206c8086ec (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/gstrtpamrdepay.h')
-rw-r--r--gst/rtp/gstrtpamrdepay.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gst/rtp/gstrtpamrdepay.h b/gst/rtp/gstrtpamrdepay.h
index 9b9424f5..022c8cb2 100644
--- a/gst/rtp/gstrtpamrdepay.h
+++ b/gst/rtp/gstrtpamrdepay.h
@@ -39,11 +39,18 @@ G_BEGIN_DECLS
typedef struct _GstRtpAMRDepay GstRtpAMRDepay;
typedef struct _GstRtpAMRDepayClass GstRtpAMRDepayClass;
+typedef enum {
+ GST_RTP_AMR_DP_MODE_INVALID = 0,
+ GST_RTP_AMR_DP_MODE_NB = 1,
+ GST_RTP_AMR_DP_MODE_WB = 2
+} GstRtpAMRDepayMode;
+
struct _GstRtpAMRDepay
{
GstBaseRTPDepayload depayload;
gboolean negotiated;
+ GstRtpAMRDepayMode mode;
gboolean octet_align;
guint8 mode_set;