diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-11-06 00:01:32 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-11-06 00:01:32 +0000 |
| commit | bb911c462ab6e04d399bfc68c2d331b0d4e9ef97 (patch) | |
| tree | 50ba1824e809c367e8c9da4074c8bf7755c06f06 /src/lib/ffmpeg_content.h | |
| parent | d759f6003067e8376899b50e5692b2bbb4e870cc (diff) | |
| parent | a60428e8a618c648fccab0d9c115f1d2a3dea2d2 (diff) | |
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
Diffstat (limited to 'src/lib/ffmpeg_content.h')
| -rw-r--r-- | src/lib/ffmpeg_content.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/ffmpeg_content.h b/src/lib/ffmpeg_content.h index 87a892e68..d2e164f1d 100644 --- a/src/lib/ffmpeg_content.h +++ b/src/lib/ffmpeg_content.h @@ -98,6 +98,11 @@ public: return _decryption_key; } + bool encrypted () const { + boost::mutex::scoped_lock lm (_mutex); + return _encrypted; + } + private: void add_properties (std::list<UserProperty> &) const; @@ -116,6 +121,7 @@ private: boost::optional<AVColorSpace> _colorspace; boost::optional<int> _bits_per_pixel; boost::optional<std::string> _decryption_key; + bool _encrypted; }; #endif |
