summaryrefslogtreecommitdiffstats
path: root/ext/flac/gstflacenc.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/flac/gstflacenc.h')
-rw-r--r--ext/flac/gstflacenc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/flac/gstflacenc.h b/ext/flac/gstflacenc.h
index ca1933a2..a7bbd46a 100644
--- a/ext/flac/gstflacenc.h
+++ b/ext/flac/gstflacenc.h
@@ -48,6 +48,10 @@ struct _GstFlacEnc {
GstPad *sinkpad;
GstPad *srcpad;
+ GstFlowReturn last_flow; /* save flow from last push so we can pass the
+ * correct flow return upstream in case the push
+ * fails for some reason */
+
gboolean first;
GstBuffer *first_buf;
guint64 offset;