X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fimage_examiner.cc;h=60dbd511be74bf6055506f57e9aeb1a8aaf14d48;hb=dd9be86db6cde0afa5da0d1d1ac43b42e05dca26;hp=b9ef89865163e17e4622f04bfdb1b85d06cedef7;hpb=b029cb06c4e0fca1fad9fecd78939efe5532fa9a;p=dcpomatic.git diff --git a/src/lib/image_examiner.cc b/src/lib/image_examiner.cc index b9ef89865..60dbd511b 100644 --- a/src/lib/image_examiner.cc +++ b/src/lib/image_examiner.cc @@ -38,7 +38,7 @@ using std::cout; using std::list; using std::sort; -using boost::shared_ptr; +using std::shared_ptr; using boost::optional; ImageExaminer::ImageExaminer (shared_ptr film, shared_ptr content, shared_ptr) @@ -63,8 +63,8 @@ ImageExaminer::ImageExaminer (shared_ptr film, shared_ptrpath(0)); - _video_size = proxy.image().first->size(); + FFmpegImageProxy proxy(content->path(0), content->video->range()); + _video_size = proxy.image().image->size(); } if (content->still ()) {