diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-08-30 23:16:21 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-08-30 23:16:21 +0100 |
| commit | 1f88a38a2a607c21988a403e76f315444c4be36b (patch) | |
| tree | 2b14f959784faf33eec61172552d9c50b72a0f65 /src/lib/film.h | |
| parent | 77d2514fee2919c32e4db92b8f75369754d17fb5 (diff) | |
Make player more tolerant of some DCP errors.
Diffstat (limited to 'src/lib/film.h')
| -rw-r--r-- | src/lib/film.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/lib/film.h b/src/lib/film.h index a28d81b6f..6f1294b29 100644 --- a/src/lib/film.h +++ b/src/lib/film.h @@ -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<Film> _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; |
