X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcontent_video.h;h=8e5f2fd094d408d6433fb012c3a3a35385c9375c;hb=54038beb4437c027e584fc95110f6fd4dbf2207d;hp=96ce5450c2619f21a0213e18aa8624a110311906;hpb=70b1f90c6986e36afc2af36ee127f6a3eb8653cd;p=dcpomatic.git diff --git a/src/lib/content_video.h b/src/lib/content_video.h index 96ce5450c..8e5f2fd09 100644 --- a/src/lib/content_video.h +++ b/src/lib/content_video.h @@ -1,22 +1,30 @@ /* Copyright (C) 2013-2014 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 . */ +#ifndef DCPOMATIC_CONTENT_VIDEO_H +#define DCPOMATIC_CONTENT_VIDEO_H + +#include "video_frame.h" + +class ImageProxy; + /** @class ContentVideo * @brief A frame of video straight out of some content. */ @@ -24,16 +32,18 @@ class ContentVideo { public: ContentVideo () - : eyes (EYES_BOTH) + : part (PART_WHOLE) {} - ContentVideo (boost::shared_ptr i, Eyes e, VideoFrame f) + ContentVideo (boost::shared_ptr i, VideoFrame f, Part p) : image (i) - , eyes (e) , frame (f) + , part (p) {} - - boost::shared_ptr image; - Eyes eyes; + + boost::shared_ptr image; VideoFrame frame; + Part part; }; + +#endif