From 9c44c5fa8eaf00ef4e61c08273b8df55047ac082 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 19 Oct 2018 22:50:47 +0100 Subject: Add decryption support. --- 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 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 decryption_key () const { + boost::mutex::scoped_lock lm (_mutex); + return _decryption_key; + } + private: void add_properties (std::list &) const; @@ -110,6 +115,7 @@ private: boost::optional _color_trc; boost::optional _colorspace; boost::optional _bits_per_pixel; + boost::optional _decryption_key; }; #endif -- cgit v1.2.3