diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-21 01:15:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-21 01:15:32 +0100 |
| commit | e60bb3e51bd1508b149e6b8f6608f09b5196ae26 (patch) | |
| tree | a7a5b937c9ae138d4eebca8d5130d308bf9ae420 /src/lib/video_content_scale.cc | |
| parent | f07d5125a7b609320682689abe40781f096ca25e (diff) | |
No-op: remove all trailing whitespace.
Diffstat (limited to 'src/lib/video_content_scale.cc')
| -rw-r--r-- | src/lib/video_content_scale.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/video_content_scale.cc b/src/lib/video_content_scale.cc index 59ff4bd9b..c8c295361 100644 --- a/src/lib/video_content_scale.cc +++ b/src/lib/video_content_scale.cc @@ -84,13 +84,13 @@ string VideoContentScale::id () const { SafeStringStream s; - + if (_ratio) { s << _ratio->id (); } else { s << (_scale ? "S1" : "S0"); } - + return s.str (); } @@ -122,7 +122,7 @@ VideoContentScale::from_id (string id) return VideoContentScale (true); } - + /** @param display_container Size of the container that we are displaying this content in. * @param film_container The size of the film's image. */ @@ -154,7 +154,7 @@ VideoContentScale::size (shared_ptr<const VideoContent> c, dcp::Size display_con float (display_container.width) / film_container.width, float (display_container.height) / film_container.height ); - + size.width = rint (size.width * scale); size.height = rint (size.height * scale); } |
