summaryrefslogtreecommitdiffstats
path: root/ext/flac/gstflacenc.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2002-06-07 20:09:05 +0000
committerWim Taymans <wim.taymans@gmail.com>2002-06-07 20:09:05 +0000
commit51aa4cdbd7c7d6c44c0be51e036e2ebdda315511 (patch)
tree79ea1c359c4ad5179bc4d4f0da4f4b0db5ccf134 /ext/flac/gstflacenc.h
parente805a46dca1c48014b9403d56a69e8394313088d (diff)
FLAC updates, implement sample accurate seeking, add some convert/query functions, make the encoder write a header
Original commit message from CVS: FLAC updates, implement sample accurate seeking, add some convert/query functions, make the encoder write a header
Diffstat (limited to 'ext/flac/gstflacenc.h')
-rw-r--r--ext/flac/gstflacenc.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/ext/flac/gstflacenc.h b/ext/flac/gstflacenc.h
index 1fe5e900..bca59c87 100644
--- a/ext/flac/gstflacenc.h
+++ b/ext/flac/gstflacenc.h
@@ -41,14 +41,16 @@ typedef struct _FlacEnc FlacEnc;
typedef struct _FlacEncClass FlacEncClass;
struct _FlacEnc {
- GstElement element;
+ GstElement element;
GstPad *sinkpad,*srcpad;
- gboolean eos;
- gint channels;
- gint depth;
- gint sample_rate;
+ gboolean first;
+ GstBuffer *first_buf;
+ gboolean eos;
+ gint channels;
+ gint depth;
+ gint sample_rate;
FLAC__StreamEncoder *encoder;
};