diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2005-10-24 15:50:06 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2005-10-24 15:50:06 +0000 |
commit | 2042e06dd4a55d941b6dcbdb0a4f2927f87475bb (patch) | |
tree | f94344136e23eac36df711ff0a8a387be96f7257 /ext/flac/gstflacenc.h | |
parent | 0f96fd6df192a680cb26eb6468b4bf2aec8b5a0e (diff) |
ext/flac/gstflacenc.*: Fix seeking, so that flacenc can rewrite the header with the correct duration and amount of sa...
Original commit message from CVS:
* ext/flac/gstflacenc.c: (gst_flacenc_base_init),
(gst_flacenc_init), (gst_flacenc_sink_setcaps),
(gst_flacenc_seek_callback), (gst_flacenc_write_callback),
(gst_flacenc_sink_event), (gst_flacenc_chain),
(gst_flacenc_set_property), (gst_flacenc_get_property),
(gst_flacenc_change_state):
* ext/flac/gstflacenc.h:
Fix seeking, so that flacenc can rewrite the header with the
correct duration and amount of samples and all that at EOS;
also set timestamps and granulepos on outgoing buffers; add
debug category; fix state change function.
Diffstat (limited to 'ext/flac/gstflacenc.h')
-rw-r--r-- | ext/flac/gstflacenc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/flac/gstflacenc.h b/ext/flac/gstflacenc.h index 82a6cb2c..73c40285 100644 --- a/ext/flac/gstflacenc.h +++ b/ext/flac/gstflacenc.h @@ -47,6 +47,7 @@ struct _GstFlacEnc { gboolean first; GstBuffer *first_buf; guint64 offset; + guint64 samples_written; gboolean eos; gint channels; gint depth; |