diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-06 20:30:19 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-06 20:30:19 +0100 |
| commit | dcccb2dd1d180b8be67e539395dccbe82b0fb5a8 (patch) | |
| tree | 53b76a2df1343e5896bc9462ec8661179ede2ee3 /src/reel.cc | |
| parent | 5f71c3f0a7a041b3621f7325915d1105424f7e53 (diff) | |
Move some CPL writing from picture/sound assets to the MXF. Pick up key_id from CPL assets and hence provide and test for encrypted() method on DCP.
Diffstat (limited to 'src/reel.cc')
| -rw-r--r-- | src/reel.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/reel.cc b/src/reel.cc index 3f077269..4a266fda 100644 --- a/src/reel.cc +++ b/src/reel.cc @@ -80,3 +80,9 @@ Reel::equals (boost::shared_ptr<const Reel> other, EqualityOptions opt, boost::f return true; } +bool +Reel::encrypted () const +{ + return ((_main_picture && _main_picture->encrypted ()) || (_main_sound && _main_sound->encrypted ())); +} + |
