summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-10-19 22:50:47 +0100
committerCarl Hetherington <cth@carlh.net>2018-10-19 22:50:47 +0100
commit9c44c5fa8eaf00ef4e61c08273b8df55047ac082 (patch)
tree4529be91d9426e051c895776b5afd2fd1fa1c556 /src/lib/ffmpeg_content.h
parent6829a1c1b3c577cdd6bc6d206dd52608b0a976ab (diff)
Add decryption support.v2.13.63
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 64f6f9ff8..87a892e68 100644
--- a/src/lib/ffmpeg_content.h
+++ b/src/lib/ffmpeg_content.h
@@ -93,6 +93,11 @@ public:
void signal_subtitle_stream_changed ();
+ boost::optional<std::string> decryption_key () const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _decryption_key;
+ }
+
private:
void add_properties (std::list<UserProperty> &) const;
@@ -110,6 +115,7 @@ private:
boost::optional<AVColorTransferCharacteristic> _color_trc;
boost::optional<AVColorSpace> _colorspace;
boost::optional<int> _bits_per_pixel;
+ boost::optional<std::string> _decryption_key;
};
#endif