}
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 ()) {