summaryrefslogtreecommitdiffstats
path: root/ext/gsm/gstgsmenc.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gsm/gstgsmenc.h')
-rw-r--r--ext/gsm/gstgsmenc.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/ext/gsm/gstgsmenc.h b/ext/gsm/gstgsmenc.h
index a5f1f87e..af30c80c 100644
--- a/ext/gsm/gstgsmenc.h
+++ b/ext/gsm/gstgsmenc.h
@@ -21,6 +21,7 @@
#define __GST_GSMENC_H__
#include <gst/gst.h>
+#include <gst/base/gstadapter.h>
#ifdef GSM_HEADER_IN_SUBDIR
#include <gsm/gsm.h>
@@ -50,10 +51,9 @@ struct _GstGSMEnc
/* pads */
GstPad *sinkpad, *srcpad;
+ GstAdapter *adapter;
gsm state;
- gsm_signal buffer[160];
- gint bufsize;
GstClockTime next_ts;
gboolean firstBuf;
};
@@ -61,9 +61,6 @@ struct _GstGSMEnc
struct _GstGSMEncClass
{
GstElementClass parent_class;
-
- /* signals */
- void (*frame_encoded) (GstElement * element);
};
GType gst_gsmenc_get_type (void);