summaryrefslogtreecommitdiffstats
path: root/ext/gsm/gstgsmenc.h
diff options
context:
space:
mode:
authorZeeshan Ali <zeenix@gmail.com>2005-10-25 16:12:03 +0000
committerZeeshan Ali <zeenix@gmail.com>2005-10-25 16:12:03 +0000
commit6510eef093ab1598b9c50c2b7e0c209fb2752742 (patch)
treeeaed15df84e749001c3af94c3ef8206f75ea9700 /ext/gsm/gstgsmenc.h
parent4d87f79f855df25112106445c2ec5917bc3ce40d (diff)
downloadgst-plugins-bad-6510eef093ab1598b9c50c2b7e0c209fb2752742.tar.gz
gst-plugins-bad-6510eef093ab1598b9c50c2b7e0c209fb2752742.tar.bz2
gst-plugins-bad-6510eef093ab1598b9c50c2b7e0c209fb2752742.zip
Over-writing Wim's gsm plugins (currently not working) with that from the farsight repo. Also made sure that they wor...
Original commit message from CVS: Over-writing Wim's gsm plugins (currently not working) with that from the farsight repo. Also made sure that they work with the RTP (de)payloader.
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);