std::shared_ptr
[dcpomatic.git] / src / lib / decoder_factory.h
index 52a53afd2b34f129fb250087a429e5a149ddd5b8..1a39f37e24ed06642f80398ffc7025e7dc34a958 100644 (file)
@@ -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.
 
 
 class ImageDecoder;
 
-extern boost::shared_ptr<Decoder> decoder_factory (
-       boost::shared_ptr<const Content> content,
-       boost::shared_ptr<Log> log,
-       bool fast
+extern std::shared_ptr<Decoder> decoder_factory (
+       std::shared_ptr<const Film> film,
+       std::shared_ptr<const Content> content,
+       bool fast,
+       bool tolerant,
+       std::shared_ptr<Decoder> old_decoder
        );