From 29790c6d88d028db7874e98f92ec5ec23a3310c8 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 6 Jan 2013 23:43:40 +0000 Subject: Try to postpone linking of duplicate video frames to stop copies failing on Windows. --- src/lib/encoder.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/lib/encoder.h') 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 > _links_required; std::vector _sound_files; int64_t _audio_frames_written; -- cgit v1.2.3