summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-10-31 20:36:04 +0000
committerCarl Hetherington <cth@carlh.net>2018-10-31 20:36:04 +0000
commita60428e8a618c648fccab0d9c115f1d2a3dea2d2 (patch)
tree886c224f91dccd2014c73ee117d4cfcf4696a8e6 /src/lib/ffmpeg_content.h
parente477bee9f3548641f78395cb4b2751751b14c085 (diff)
swaroop: beginning of encrypted MP4 / .ecinema.v2.13.65
Diffstat (limited to 'src/lib/ffmpeg_content.h')
-rw-r--r--src/lib/ffmpeg_content.h6
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