diff options
Diffstat (limited to 'ext/flac/gstflacdec.h')
-rw-r--r-- | ext/flac/gstflacdec.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/flac/gstflacdec.h b/ext/flac/gstflacdec.h index 17c232cd..d2762d5a 100644 --- a/ext/flac/gstflacdec.h +++ b/ext/flac/gstflacdec.h @@ -23,6 +23,7 @@ #include <gst/gst.h> +#include <gst/base/gstadapter.h> #include <FLAC/all.h> @@ -40,7 +41,11 @@ typedef struct _GstFlacDecClass GstFlacDecClass; struct _GstFlacDec { GstElement element; - FLAC__SeekableStreamDecoder *decoder; + FLAC__SeekableStreamDecoder *seekable_decoder; /* for pull-based operation */ + + FLAC__StreamDecoder *stream_decoder; /* for chain-based operation */ + GstAdapter *adapter; + gboolean framed; GstPad *sinkpad; GstPad *srcpad; |