Initial stuff; mostly ok but some hints are still not implemented as warnings.
[dcpomatic.git] / src / wx / audio_panel.cc
index 34d6ac885be65d410f10df59ad9348e12e1c0b93..9e2ba986939dea29fd6b9aebd00735eea15bf000 100644 (file)
@@ -29,7 +29,6 @@
 #include "lib/job_manager.h"
 #include "lib/dcp_content.h"
 #include <wx/spinctrl.h>
-#include <boost/lexical_cast.hpp>
 #include <boost/foreach.hpp>
 #include <iostream>
 
@@ -39,7 +38,6 @@ using std::string;
 using std::list;
 using std::pair;
 using boost::dynamic_pointer_cast;
-using boost::lexical_cast;
 using boost::shared_ptr;
 using boost::optional;
 
@@ -169,6 +167,8 @@ AudioPanel::film_content_changed (int property)
                }
 
                setup_sensitivity ();
+       } else if (property == AudioContentProperty::AUDIO_VIDEO_FRAME_RATE) {
+               setup_description ();
        }
 }