Added some notes on DVD-o-matic's files to the manual.
[dcpomatic.git] / src / lib / video_content.cc
index c1f4d0089d8fab807b74d1fae14c8125ac6426f0..a157b05993ca4b2532d0dd5fc8168436c2048a69 100644 (file)
@@ -73,16 +73,6 @@ VideoContent::VideoContent (shared_ptr<const Film> f, shared_ptr<const cxml::Nod
        }
 }
 
-VideoContent::VideoContent (VideoContent const & o)
-       : Content (o)
-       , _video_length (o._video_length)
-       , _video_size (o._video_size)
-       , _video_frame_rate (o._video_frame_rate)
-       , _ratio (o._ratio)
-{
-
-}
-
 void
 VideoContent::as_xml (xmlpp::Node* node) const
 {
@@ -107,14 +97,14 @@ VideoContent::take_from_video_examiner (shared_ptr<VideoExaminer> d)
        libdcp::Size const vs = d->video_size ();
        float const vfr = d->video_frame_rate ();
        
-        {
-                boost::mutex::scoped_lock lm (_mutex);
-                _video_size = vs;
+       {
+               boost::mutex::scoped_lock lm (_mutex);
+               _video_size = vs;
                _video_frame_rate = vfr;
-        }
-        
-        signal_changed (VideoContentProperty::VIDEO_SIZE);
-        signal_changed (VideoContentProperty::VIDEO_FRAME_RATE);
+       }
+       
+       signal_changed (VideoContentProperty::VIDEO_SIZE);
+       signal_changed (VideoContentProperty::VIDEO_FRAME_RATE);
 }
 
 
@@ -137,16 +127,6 @@ VideoContent::information () const
        return s.str ();
 }
 
-void
-VideoContent::set_crop (Crop c)
-{
-       {
-               boost::mutex::scoped_lock lm (_mutex);
-               _crop = c;
-       }
-       signal_changed (VideoContentProperty::VIDEO_CROP);
-}
-
 void
 VideoContent::set_left_crop (int c)
 {