diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-06-03 11:11:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-06-03 11:11:32 +0100 |
| commit | e110d927e8dfec709a548172173b3ed1236c2d82 (patch) | |
| tree | 0f51ae311c471b77defb583fed6500ec0f13dc4d /src/lib/subtitle.cc | |
| parent | 47cc374e135a2c7f3f1702cd53bb162ecf2b986d (diff) | |
A few build fixes.
Diffstat (limited to 'src/lib/subtitle.cc')
| -rw-r--r-- | src/lib/subtitle.cc | 10 |
1 files changed, 5 insertions, 5 deletions
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<Image> 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); } |
