diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-07-27 22:30:35 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-07-27 22:30:35 +0100 |
| commit | 6427e9dcb2cd239dcd5a392aac847df47f9875d9 (patch) | |
| tree | eb69053b6b103db808bfeaf1d07fc9c729fa533f /src/lib/decoder.cc | |
| parent | 423928e4a0c9294f7e7da30030f00e3fc09cdf14 (diff) | |
Use a Crop struct and use it to speed up cropping a bit.
Diffstat (limited to 'src/lib/decoder.cc')
| -rw-r--r-- | src/lib/decoder.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/decoder.cc b/src/lib/decoder.cc index abdaa59d9..c6982ef46 100644 --- a/src/lib/decoder.cc +++ b/src/lib/decoder.cc @@ -401,7 +401,7 @@ Decoder::setup_video_filters () if (_opt->apply_crop) { size_after_crop = _fs->cropped_size (native_size ()); - fs << crop_string (Position (_fs->left_crop, _fs->top_crop), size_after_crop); + fs << crop_string (Position (_fs->crop.left, _fs->crop.top), size_after_crop); } else { size_after_crop = native_size (); fs << crop_string (Position (0, 0), size_after_crop); |
