X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fffmpeg_content.h;h=87a892e68a81fa4ce5f4d3a67af145afc4e1e480;hb=f86747d41831acf4ee31ac836de480a85f20c6f0;hp=64f6f9ff8632a275cf05f2233b2faf344a2aadf6;hpb=82e518498a853af33f2b53ebac08ec3094a96f8e;p=dcpomatic.git 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