diff options
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 |
