X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fvideo_content_scale.h;h=2f161b1a7069d05e5c5756945fb09bafa9175e16;hb=35992b8f2c9d58a08d1ecb08a39d7c99362fd2c0;hp=74e91e78f6549c0e85672aa74a987f4f27ecd585;hpb=ae15eeca8588c6928d7671894db98c2e289fa601;p=dcpomatic.git diff --git a/src/lib/video_content_scale.h b/src/lib/video_content_scale.h index 74e91e78f..2f161b1a7 100644 --- a/src/lib/video_content_scale.h +++ b/src/lib/video_content_scale.h @@ -1,19 +1,20 @@ /* Copyright (C) 2013-2015 Carl Hetherington - This program is free software; you can redistribute it and/or modify + This file is part of DCP-o-matic. + + DCP-o-matic is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. - This program is distributed in the hope that it will be useful, + DCP-o-matic is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + along with DCP-o-matic. If not, see . */ @@ -39,9 +40,9 @@ class VideoContentScale { public: VideoContentScale (); - VideoContentScale (Ratio const *); - VideoContentScale (bool); - VideoContentScale (boost::shared_ptr); + explicit VideoContentScale (Ratio const *); + explicit VideoContentScale (bool); + explicit VideoContentScale (boost::shared_ptr); dcp::Size size (boost::shared_ptr, dcp::Size display_container, dcp::Size film_container) const; std::string id () const;