diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-08-08 17:03:36 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-08-14 11:18:18 +0100 |
| commit | 9b0f4a0f9de9d6569042c2524feb99163852f2cf (patch) | |
| tree | 71ca2bc2ff6161d2ea0ffcee13f6aa92e927ccf1 /src/lib | |
| parent | 63b0d6b180a41547aee9028d200992f53c5a043f (diff) | |
Remove unused method.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/video_content_scale.cc | 17 | ||||
| -rw-r--r-- | src/lib/video_content_scale.h | 3 |
2 files changed, 2 insertions, 18 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. */ diff --git a/src/lib/video_content_scale.h b/src/lib/video_content_scale.h index 2f161b1a7..845c71a52 100644 --- a/src/lib/video_content_scale.h +++ b/src/lib/video_content_scale.h @@ -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. @@ -61,7 +61,6 @@ public: static std::vector<VideoContentScale> all () { return _scales; } - static VideoContentScale from_id (std::string id); private: /** a ratio to stretch the content to, or 0 for no stretch */ |
