#include "exceptions.h"
#include "config.h"
#include "cross.h"
+#include "compose.hpp"
#include <dcp/openjpeg_image.h>
#include <dcp/exceptions.h>
#include <Magick++.h>
return _video_size.get ();
}
-optional<float>
+optional<double>
ImageExaminer::video_frame_rate () const
{
+ if (_image_content->video_frame_rate() != 0) {
+ /* The content already knows what frame rate it should be */
+ return _image_content->video_frame_rate();
+ }
+
/* Don't know */
- return optional<float> ();
+ return optional<double> ();
}