Suggest that DCP rates <= 30 are used unless the user explictly goes higher (#1441).
[dcpomatic.git] / src / lib / film.h
index 3fb24af934e5c999f84b4d49d55e1427b85c9808..7fdd4d269eaa8c679002a13bdb3f81c4a8cc743b 100644 (file)
@@ -316,7 +316,7 @@ public:
        void set_key (dcp::Key key);
        void set_j2k_bandwidth (int);
        void set_isdcf_metadata (ISDCFMetadata);
-       void set_video_frame_rate (int);
+       void set_video_frame_rate (int rate, bool user_explicit = false);
        void set_audio_channels (int);
        void set_three_d (bool);
        void set_isdcf_date_today ();
@@ -401,6 +401,8 @@ private:
        int64_t _reel_length;
        bool _upload_after_make_dcp;
        bool _reencode_j2k;
+       /** true if the user has ever explicitly set the video frame rate of this film */
+       bool _user_explicit_video_frame_rate;
 
        int _state_version;
 
@@ -409,6 +411,7 @@ private:
        /** film being used as a template, or 0 */
        boost::shared_ptr<Film> _template_film;
 
+
        boost::signals2::scoped_connection _playlist_change_connection;
        boost::signals2::scoped_connection _playlist_order_changed_connection;
        boost::signals2::scoped_connection _playlist_content_change_connection;