From a60428e8a618c648fccab0d9c115f1d2a3dea2d2 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 31 Oct 2018 20:36:04 +0000 Subject: swaroop: beginning of encrypted MP4 / .ecinema. --- src/lib/ffmpeg_content.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/lib/ffmpeg_content.h') 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 &) const; @@ -116,6 +121,7 @@ private: boost::optional _colorspace; boost::optional _bits_per_pixel; boost::optional _decryption_key; + bool _encrypted; }; #endif -- cgit v1.2.3