Merge branch 'master' into 2.0
[dcpomatic.git] / src / lib / image_content.cc
index 87276ce4dc92d6c5538139d8fb88988f1c22f8ea..a7f951beaca4e98f5213d397408c19f9a79e24ec 100644 (file)
@@ -144,3 +144,19 @@ ImageContent::still () const
 {
        return number_of_paths() == 1;
 }
+
+void
+ImageContent::set_video_frame_rate (float r)
+{
+       {
+               boost::mutex::scoped_lock lm (_mutex);
+               if (_video_frame_rate == r) {
+                       return;
+               }
+               
+               _video_frame_rate = r;
+       }
+       
+       signal_changed (VideoContentProperty::VIDEO_FRAME_RATE);
+}
+