Fix the build for older macOS.
[dcpomatic.git] / src / lib / image_examiner.cc
index acbf55696271daa84588b179debdb60bcae0e439..ae12d7adb3570363304326250fe55474b3827039 100644 (file)
@@ -66,8 +66,8 @@ ImageExaminer::ImageExaminer (shared_ptr<const Film> film, shared_ptr<const Imag
                }
                delete[] buffer;
        } else {
-               FFmpegImageProxy proxy(content->path(0), content->video->range());
-               _video_size = proxy.image().image->size();
+               FFmpegImageProxy proxy(content->path(0));
+               _video_size = proxy.image(Image::Alignment::COMPACT).image->size();
        }
 
        if (content->still ()) {