diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-01-06 23:43:40 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-01-06 23:43:40 +0000 |
| commit | 29790c6d88d028db7874e98f92ec5ec23a3310c8 (patch) | |
| tree | ef6c91931d9fb1de865afb18879bc827cfc945f5 /src/lib/encoder.h | |
| parent | 927bc146f77e078a114ef36324aaabef90008f9d (diff) | |
Try to postpone linking of duplicate video frames to stop copies failing on Windows.
Diffstat (limited to 'src/lib/encoder.h')
| -rw-r--r-- | src/lib/encoder.h | 8 |
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; |
