Switch PlayerVideo::always_rgb to a new ::force and use it in FFmpegFileEncoder.
[dcpomatic.git] / src / lib / dcp_content.h
index 43476e729c7f8ca3495bb26dcde21988b96dc4e5..2a3ef46e80092db8b2fd4288211eccac18975163 100644 (file)
@@ -138,6 +138,13 @@ public:
                return _three_d;
        }
 
+       boost::optional<dcp::ContentKind> content_kind () const {
+               boost::mutex::scoped_lock lm (_mutex);
+               return _content_kind;
+       }
+
+       bool kdm_timing_window_valid () const;
+
 private:
        friend class reels_test5;
 
@@ -174,6 +181,7 @@ private:
        bool _reference_text[TEXT_COUNT];
 
        boost::optional<dcp::Standard> _standard;
+       boost::optional<dcp::ContentKind> _content_kind;
        bool _three_d;
        /** ID of the CPL to use; older metadata might not specify this: in that case
         *  just use the only CPL.