summaryrefslogtreecommitdiffstats
path: root/ext/flac/gstflacdec.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2007-12-14 18:49:34 +0000
committerWim Taymans <wim.taymans@gmail.com>2007-12-14 18:49:34 +0000
commit981460c22bfce3bfe9788c7d7e8373bb2dd22e44 (patch)
tree859c396bf425938327be54bb667d62fba0fbe5e7 /ext/flac/gstflacdec.h
parent7951e1cceb92e5b9176fb896ca33d5b191baa516 (diff)
ext/flac/gstflacdec.*: Send segments from the streaming thread. Fixes #502187.
Original commit message from CVS: * ext/flac/gstflacdec.c: (gst_flac_dec_metadata_callback), (gst_flac_dec_write): * ext/flac/gstflacdec.h: Send segments from the streaming thread. Fixes #502187. Fix segment seeking and a bunch of other seeking cases.
Diffstat (limited to 'ext/flac/gstflacdec.h')
-rw-r--r--ext/flac/gstflacdec.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/flac/gstflacdec.h b/ext/flac/gstflacdec.h
index f4eb9ba3..00ed6ee1 100644
--- a/ext/flac/gstflacdec.h
+++ b/ext/flac/gstflacdec.h
@@ -71,6 +71,10 @@ struct _GstFlacDec {
GstSegment segment; /* the currently configured segment, in
* samples/audio frames (DEFAULT format) */
+ gboolean running;
+ gboolean discont;
+ GstEvent *close_segment;
+ GstEvent *start_segment;
GstFlowReturn last_flow; /* the last flow return received from either
* gst_pad_push or gst_pad_buffer_alloc */