X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ffilm.cc;h=a3720c458b1afc8f4dbcf054e7da657de10402f4;hb=9e1343fb30df204811e80bfd1387574b9d383a09;hp=f869289d5700fbab7fca1de7e5785d58a3775d29;hpb=bea0786a2de854964248778526bb084cc21e04a8;p=dcpomatic.git diff --git a/src/lib/film.cc b/src/lib/film.cc index f869289d5..a3720c458 100644 --- a/src/lib/film.cc +++ b/src/lib/film.cc @@ -65,7 +65,6 @@ using std::pair; using std::map; using std::vector; using std::ifstream; -using std::ofstream; using std::setfill; using std::min; using std::make_pair; @@ -151,6 +150,12 @@ Film::video_identifier () const << "_" << scaler()->id() << "_" << j2k_bandwidth(); + if (encrypted ()) { + s << "_E"; + } else { + s << "_P"; + } + if (_interop) { s << "_I"; } else { @@ -844,6 +849,12 @@ Film::best_video_frame_rate () const return _playlist->best_dcp_frame_rate (); } +bool +Film::content_paths_valid () const +{ + return _playlist->content_paths_valid (); +} + void Film::playlist_content_changed (boost::weak_ptr c, int p) {