summaryrefslogtreecommitdiff
path: root/gst/siren/gstsirenenc.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2009-09-03 18:43:26 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2009-09-03 18:45:31 +0200
commit823f06f039a11920a9c0337821b7528eaab4b33b (patch)
tree67d624cf96b5dda37bb16d60a07d896f230f028e /gst/siren/gstsirenenc.h
parent9a1597e58b9b4420dcf0237afe92bbd266944ffe (diff)
downloadgstreamer-plugins-bad-823f06f039a11920a9c0337821b7528eaab4b33b.tar.gz
sirenenc: fix timestamping
Handle DISCONT and reset adapter. code cleanups. Put timestamps and discont flags on output buffers. Fix error handling. Remove bogus object locks, it's all protected by the STREAM_LOCK.
Diffstat (limited to 'gst/siren/gstsirenenc.h')
-rw-r--r--gst/siren/gstsirenenc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/siren/gstsirenenc.h b/gst/siren/gstsirenenc.h
index 47e05bc78..66709be89 100644
--- a/gst/siren/gstsirenenc.h
+++ b/gst/siren/gstsirenenc.h
@@ -52,9 +52,10 @@ struct _GstSirenEnc
/* protected by the stream lock */
SirenEncoder encoder;
- /* protected by the object lock */
GstAdapter *adapter;
+ gboolean discont;
+
GstPad *srcpad;
GstPad *sinkpad;