Add a getter for _standard in DCPContent.
authorCarl Hetherington <cth@carlh.net>
Mon, 20 Apr 2020 22:11:38 +0000 (00:11 +0200)
committerCarl Hetherington <cth@carlh.net>
Mon, 20 Apr 2020 22:11:38 +0000 (00:11 +0200)
src/lib/dcp_content.h

index 65bed29bc91bd55b7ab16ce4ad3937ee151527bc..fb8d9178198caedca8847a0b19dae0887783fad8 100644 (file)
@@ -144,6 +144,12 @@ public:
                return _content_kind;
        }
 
+       dcp::Standard standard () const {
+               boost::mutex::scoped_lock lm (_mutex);
+               DCPOMATIC_ASSERT (_standard);
+               return _standard.get ();
+       }
+
        bool kdm_timing_window_valid () const;
 
 private: