diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2006-03-29 16:54:12 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2006-03-29 16:54:12 +0000 |
commit | de433bfdcb5ba523f6e0c5ec0589f5bd890cee35 (patch) | |
tree | 6e5b44428e407f1f471538c9dc2a1bcc8165b0a2 /ext/gsm/gstgsmdec.h | |
parent | 599af07ac788e98a83b580be91c73d5888b1c6f6 (diff) | |
download | gst-plugins-bad-de433bfdcb5ba523f6e0c5ec0589f5bd890cee35.tar.gz gst-plugins-bad-de433bfdcb5ba523f6e0c5ec0589f5bd890cee35.tar.bz2 gst-plugins-bad-de433bfdcb5ba523f6e0c5ec0589f5bd890cee35.zip |
ext/gsm/: Cleanups, fix leaks.
Original commit message from CVS:
* ext/gsm/gstgsmdec.c: (gst_gsmdec_class_init), (gst_gsmdec_init),
(gst_gsmdec_finalize), (gst_gsmdec_sink_event), (gst_gsmdec_chain):
* ext/gsm/gstgsmdec.h:
* ext/gsm/gstgsmenc.c: (gst_gsmenc_class_init), (gst_gsmenc_init),
(gst_gsmenc_finalize), (gst_gsmenc_chain):
Cleanups, fix leaks.
Handle events and DISCONT.
Use adapter in the decoder.
Diffstat (limited to 'ext/gsm/gstgsmdec.h')
-rw-r--r-- | ext/gsm/gstgsmdec.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/gsm/gstgsmdec.h b/ext/gsm/gstgsmdec.h index 1718e74b..7e73cccf 100644 --- a/ext/gsm/gstgsmdec.h +++ b/ext/gsm/gstgsmdec.h @@ -21,6 +21,7 @@ #define __GST_GSMDEC_H__ #include <gst/gst.h> +#include <gst/base/gstadapter.h> #ifdef GSM_HEADER_IN_SUBDIR #include <gsm/gsm.h> @@ -54,6 +55,10 @@ struct _GstGSMDec gsm state; gint64 next_of; GstClockTime next_ts; + + GstAdapter *adapter; + + GstSegment segment; }; struct _GstGSMDecClass |