Make video frame rate option respect OK/Cancel.
[dcpomatic.git] / src / wx / content_advanced_dialog.h
index 26c1a374afc2dab02ea7487faf0a0eb77bf30f78..3c2454449b742c8addeda51f7b998544a35a5a04 100644 (file)
@@ -23,6 +23,7 @@
 LIBDCP_DISABLE_WARNINGS
 #include <wx/wx.h>
 LIBDCP_ENABLE_WARNINGS
+#include <boost/optional.hpp>
 #include <memory>
 #include <vector>
 
@@ -38,10 +39,13 @@ public:
        ContentAdvancedDialog (wxWindow* parent, std::shared_ptr<Content> content);
 
        bool ignore_video() const;
+
        std::vector<Filter const*> filters() {
                return _filters_list;
        }
 
+       boost::optional<double> video_frame_rate() const;
+
 private:
        void edit_filters ();
        void filters_changed (std::vector<Filter const *> filters);