From e110d927e8dfec709a548172173b3ed1236c2d82 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 3 Jun 2013 11:11:32 +0100 Subject: A few build fixes. --- src/lib/subtitle.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/lib/subtitle.cc') diff --git a/src/lib/subtitle.cc b/src/lib/subtitle.cc index 2815fccd8..211f04763 100644 --- a/src/lib/subtitle.cc +++ b/src/lib/subtitle.cc @@ -110,13 +110,13 @@ Subtitle::Subtitle (Position p, shared_ptr i) * in the coordinate space of the source. * @param subtitle_scale scaling factor to apply to the subtitle image. */ -dvdomatic::Rect +dcpomatic::Rect subtitle_transformed_area ( float target_x_scale, float target_y_scale, - dvdomatic::Rect sub_area, int subtitle_offset, float subtitle_scale + dcpomatic::Rect sub_area, int subtitle_offset, float subtitle_scale ) { - dvdomatic::Rect tx; + dcpomatic::Rect tx; sub_area.y += subtitle_offset; @@ -145,8 +145,8 @@ subtitle_transformed_area ( } /** @return area that this subtitle takes up, in the original uncropped source's coordinate space */ -dvdomatic::Rect +dcpomatic::Rect Subtitle::area () const { - return dvdomatic::Rect (_position.x, _position.y, _image->size().width, _image->size().height); + return dcpomatic::Rect (_position.x, _position.y, _image->size().width, _image->size().height); } -- cgit v1.2.3