#include "compose.hpp"
#include <dcp/openjpeg_image.h>
#include <dcp/exceptions.h>
+#include <dcp/j2k.h>
#include <Magick++.h>
#include <iostream>
optional<double>
ImageExaminer::video_frame_rate () const
{
- if (_image_content->has_own_video_frame_rate()) {
+ if (_image_content->video->has_own_frame_rate()) {
/* The content already knows what frame rate it should be */
- return _image_content->video_frame_rate();
+ return _image_content->video->frame_rate();
}
/* Don't know */
return optional<double> ();
}
+
+bool
+ImageExaminer::yuv () const
+{
+ /* We never convert ImageSource from YUV to RGB (though maybe sometimes we should)
+ so it makes sense to just say they are never YUV so the option of a conversion
+ to RGB is not offered.
+ */
+ return false;
+}