X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ffilm.h;h=6f1294b29c9a0f25bb02ff53df9deb40796913cd;hb=1f88a38a2a607c21988a403e76f315444c4be36b;hp=1c5022428a332563ee586ca1441cfc64756ae69c;hpb=bf19399f8c009ff211d5c7b45b0941417d963c4e;p=dcpomatic.git diff --git a/src/lib/film.h b/src/lib/film.h index 1c5022428..6f1294b29 100644 --- a/src/lib/film.h +++ b/src/lib/film.h @@ -82,7 +82,7 @@ public: boost::filesystem::path audio_analysis_path (boost::shared_ptr) const; void send_dcp_to_tms (); - void make_dcp (bool gui = false); + void make_dcp (bool gui = false, bool check = true); /** @return Logger. * It is safe to call this from any thread. @@ -174,6 +174,14 @@ public: bool references_dcp_video () const; bool references_dcp_audio () const; + void set_tolerant (bool t) { + _tolerant = t; + } + + bool tolerant () const { + return _tolerant; + } + /** Identifiers for the parts of our state; used for signalling changes. */ @@ -432,6 +440,11 @@ private: /** film being used as a template, or 0 */ boost::shared_ptr _template_film; + /** Be tolerant of errors in content (currently applies to DCP only). + Not saved as state. + */ + bool _tolerant; + boost::signals2::scoped_connection _playlist_change_connection; boost::signals2::scoped_connection _playlist_order_changed_connection; boost::signals2::scoped_connection _playlist_content_change_connection;