diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-03-09 17:14:12 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-03-09 17:14:12 +0100 |
commit | 8f8e035cd5794658a359d7233fe67f48f5d77b2c (patch) | |
tree | 3c3c1c157804a44687adf0231dcf1b4979cba11f /ext/flac/gstflacdec.h | |
parent | af7aaef37ac5521e12684192507653741e85d812 (diff) |
flacdec: don't lose the first buffer after a seek
The flacdec API calls the write callback when performing a seek. We cannot yet
push out a buffer at that time so we must keep it and push it out later.
Flush out the upstream part of the pipeline when doing a seek.
Fixes #574275.
Diffstat (limited to 'ext/flac/gstflacdec.h')
-rw-r--r-- | ext/flac/gstflacdec.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/flac/gstflacdec.h b/ext/flac/gstflacdec.h index 100c4e0b..1b706bca 100644 --- a/ext/flac/gstflacdec.h +++ b/ext/flac/gstflacdec.h @@ -74,6 +74,7 @@ struct _GstFlacDec { * samples/audio frames (DEFAULT format) */ gboolean running; gboolean discont; + GstBuffer *pending; /* pending buffer, produced in seek */ GstEvent *close_segment; GstEvent *start_segment; GstTagList *tags; |