summaryrefslogtreecommitdiff
path: root/src/lib/video_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-03-17 00:55:53 +0000
committerCarl Hetherington <cth@carlh.net>2014-03-17 00:55:53 +0000
commita6b7ff4fc0ad2d05a7b9a9c56c0e0ec60ec44a4c (patch)
tree6a79eb71f337ade25e90cdf40b9b3f93bb2724a8 /src/lib/video_content.cc
parent2e504b33eb9f38cac629ad31b7c107fb0cf5efda (diff)
Merge master.
Diffstat (limited to 'src/lib/video_content.cc')
-rw-r--r--src/lib/video_content.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/video_content.cc b/src/lib/video_content.cc
index c3aea2b0f..b6a2d0318 100644
--- a/src/lib/video_content.cc
+++ b/src/lib/video_content.cc
@@ -452,7 +452,7 @@ VideoContentScale::size (shared_ptr<const VideoContent> c, dcp::Size display_con
return fit_ratio_within (_ratio->ratio (), display_container);
}
- libdcp::Size const ac = c->video_size_after_crop ();
+ dcp::Size const ac = c->video_size_after_crop ();
/* Force scale if the film_container is smaller than the content's image */
if (_scale || film_container.width < ac.width || film_container.height < ac.height) {
@@ -462,7 +462,7 @@ VideoContentScale::size (shared_ptr<const VideoContent> c, dcp::Size display_con
/* Scale the image so that it will be in the right place in film_container, even if display_container is a
different size.
*/
- return libdcp::Size (
+ return dcp::Size (
c->video_size().width * float(display_container.width) / film_container.width,
c->video_size().height * float(display_container.height) / film_container.height
);