Cleanup: remove unused parameter to PlayerVideo::force.
[dcpomatic.git] / src / lib / image_examiner.cc
index 89d1517ce5abf380d9e30c3a09777bd17a5a0293..2235c2e6994003e1c6deba869966d80647dc99e0 100644 (file)
 */
 
 
-#include "image_content.h"
-#include "image_examiner.h"
-#include "film.h"
-#include "job.h"
-#include "exceptions.h"
+#include "compose.hpp"
 #include "config.h"
 #include "cross.h"
-#include "compose.hpp"
+#include "exceptions.h"
 #include "ffmpeg_image_proxy.h"
+#include "film.h"
 #include "image.h"
+#include "image_content.h"
+#include "image_examiner.h"
+#include "job.h"
 #include <dcp/openjpeg_image.h>
 #include <dcp/exceptions.h>
 #include <dcp/j2k_transcode.h>
@@ -39,8 +39,8 @@
 
 using std::cout;
 using std::list;
-using std::sort;
 using std::shared_ptr;
+using std::sort;
 using boost::optional;
 
 
@@ -67,7 +67,7 @@ ImageExaminer::ImageExaminer (shared_ptr<const Film> film, shared_ptr<const Imag
                delete[] buffer;
        } else {
                FFmpegImageProxy proxy(content->path(0));
-               _video_size = proxy.image().image->size();
+               _video_size = proxy.image(Image::Alignment::COMPACT).image->size();
        }
 
        if (content->still ()) {