diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-09-03 18:43:26 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-09-03 18:45:31 +0200 |
commit | 823f06f039a11920a9c0337821b7528eaab4b33b (patch) | |
tree | 67d624cf96b5dda37bb16d60a07d896f230f028e /gst/siren/gstsirenenc.h | |
parent | 9a1597e58b9b4420dcf0237afe92bbd266944ffe (diff) | |
download | gstreamer-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.h | 3 |
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; |