Fix crashes on x-thread signal emission.
[dcpomatic.git] / src / lib / dcp_examiner.h
index 03d43d0f6c9f7a270ab2f2b16d147c4389ec289d..26957b3e45b2ba31a1edc2e9ca5a82c2141cc445 100644 (file)
 
 */
 
+/** @file  src/lib/dcp_examiner.h
+ *  @brief DCPExaminer class.
+ */
+
 #include "video_examiner.h"
 #include "audio_examiner.h"
 
@@ -27,8 +31,8 @@ class DCPExaminer : public VideoExaminer, public AudioExaminer
 public:
        DCPExaminer (boost::shared_ptr<const DCPContent>);
        
-       float video_frame_rate () const {
-               return _video_frame_rate.get_value_or (24);
+       boost::optional<float> video_frame_rate () const {
+               return _video_frame_rate;
        }
        
        dcp::Size video_size () const {