summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-08-25 12:36:12 +0100
committerCarl Hetherington <cth@carlh.net>2013-08-25 12:36:12 +0100
commit1284dd144452ec7fd2e7dca9d5f8f8a77bbff1ac (patch)
tree90d2764ddf0e6ff801f3636ece4ff5eace33badf /src
parent97890961be41534b5aae058017d7d65a44d7d0fb (diff)
Fix build.
Diffstat (limited to 'src')
-rw-r--r--src/lib/player.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc
index 8a37cb835..70d6fa877 100644
--- a/src/lib/player.cc
+++ b/src/lib/player.cc
@@ -254,7 +254,7 @@ Player::process_video (weak_ptr<Piece> weak_piece, shared_ptr<const Image> image
/* Convert to RGB first, as FFmpeg doesn't seem to like handling YUV images with odd widths */
shared_ptr<Image> work_image = image->scale (image->size (), _film->scaler(), PIX_FMT_RGB24, true);
- shared_ptr<Image> work_image = work_image->crop (content->crop(), true);
+ work_image = work_image->crop (content->crop(), true);
libdcp::Size const image_size = content->ratio()->size (_video_container_size);