summaryrefslogtreecommitdiff
path: root/src/lib/encoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/encoder.h')
-rw-r--r--src/lib/encoder.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/encoder.h b/src/lib/encoder.h
index e5916ad3a..52ccfc166 100644
--- a/src/lib/encoder.h
+++ b/src/lib/encoder.h
@@ -121,7 +121,13 @@ private:
#if HAVE_SWRESAMPLE
SwrContext* _swr_context;
-#endif
+#endif
+
+ /** List of links that we need to create when all frames have been processed;
+ * such that we need to call link (first, second) for each member of this list.
+ * In other words, `first' is a `real' frame and `second' should be a link to `first'.
+ */
+ std::list<std::pair<int, int> > _links_required;
std::vector<SNDFILE*> _sound_files;
int64_t _audio_frames_written;