diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-04-14 00:03:35 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-04-14 00:03:35 +0000 |
| commit | 2ff2489bdac9e4bd37510f10e126932e519a51d2 (patch) | |
| tree | 8c86d3099b6cf8fec8e078c11b2063fd0cd2903b /src/lib/video_content_scale.cc | |
| parent | daa53f9d523d4aaaf146a690b0fcc0228d736fa5 (diff) | |
Remove unused method.
Diffstat (limited to 'src/lib/video_content_scale.cc')
| -rw-r--r-- | src/lib/video_content_scale.cc | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/src/lib/video_content_scale.cc b/src/lib/video_content_scale.cc index 636f0e807..137d78ad2 100644 --- a/src/lib/video_content_scale.cc +++ b/src/lib/video_content_scale.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2013-2015 Carl Hetherington <cth@carlh.net> + Copyright (C) 2013-2018 Carl Hetherington <cth@carlh.net> This file is part of DCP-o-matic. @@ -105,21 +105,6 @@ VideoContentScale::name () const return _("No scale"); } -VideoContentScale -VideoContentScale::from_id (string id) -{ - Ratio const * r = Ratio::from_id (id); - if (r) { - return VideoContentScale (r); - } - - if (id == "S0") { - return VideoContentScale (false); - } - - 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. */ |
