Remove unused method.
authorCarl Hetherington <cth@carlh.net>
Sun, 14 Apr 2019 00:03:35 +0000 (00:03 +0000)
committerCarl Hetherington <cth@carlh.net>
Sun, 14 Apr 2019 00:03:35 +0000 (00:03 +0000)
src/lib/video_content_scale.cc
src/lib/video_content_scale.h

index 636f0e807413972d7fa5cb1ea8161e755bd4fb7a..137d78ad2ff7a9a2629c009bb278c495f60a8d3c 100644 (file)
@@ -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.
  */
index 2f161b1a7069d05e5c5756945fb09bafa9175e16..845c71a52f5106616b2b2c4f53a373041947032b 100644 (file)
@@ -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 */