From de433bfdcb5ba523f6e0c5ec0589f5bd890cee35 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 29 Mar 2006 16:54:12 +0000 Subject: 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. --- ext/gsm/gstgsmdec.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ext/gsm/gstgsmdec.h') 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 +#include #ifdef GSM_HEADER_IN_SUBDIR #include @@ -54,6 +55,10 @@ struct _GstGSMDec gsm state; gint64 next_of; GstClockTime next_ts; + + GstAdapter *adapter; + + GstSegment segment; }; struct _GstGSMDecClass -- cgit v1.2.1