diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-07-25 11:37:52 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-07-25 11:37:52 +0100 |
| commit | 57f112a2bd073123a686141be6c16ba997349056 (patch) | |
| tree | ef4e181329049b447ae977157872029691b64f85 /src/lib/decoder_factory.h | |
| parent | 122111f680dc186f936960394f0720374d7d5dca (diff) | |
Optimise decoder_factory for DCPDecoder by offering the old decoder
(if available) to recover the list of reels from, rather than having
to scan the filesystem again.
Diffstat (limited to 'src/lib/decoder_factory.h')
| -rw-r--r-- | src/lib/decoder_factory.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/decoder_factory.h b/src/lib/decoder_factory.h index d4e39da17..cb145c8a9 100644 --- a/src/lib/decoder_factory.h +++ b/src/lib/decoder_factory.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2016 Carl Hetherington <cth@carlh.net> + Copyright (C) 2016-2019 Carl Hetherington <cth@carlh.net> This file is part of DCP-o-matic. @@ -23,5 +23,6 @@ class ImageDecoder; extern boost::shared_ptr<Decoder> decoder_factory ( boost::shared_ptr<const Film> film, boost::shared_ptr<const Content> content, - bool fast + bool fast, + boost::shared_ptr<Decoder> old_decoder ); |
