FFmpegContent does not need audio_length().
[dcpomatic.git] / src / lib / content_video.h
index a7f73597c866495b0df60a2f3036bd8066d0f1f0..c8f5cca0b9c29b708b3ab5fb64e81b44845554dc 100644 (file)
@@ -30,9 +30,11 @@ class ContentVideo
 public:
        ContentVideo ()
                : eyes (EYES_BOTH)
+               , part (PART_WHOLE)
+               , frame (0)
        {}
 
-       ContentVideo (boost::shared_ptr<const ImageProxy> i, Eyes e, Part p, VideoFrame f)
+       ContentVideo (boost::shared_ptr<const ImageProxy> i, Eyes e, Part p, Frame f)
                : image (i)
                , eyes (e)
                , part (p)
@@ -42,7 +44,7 @@ public:
        boost::shared_ptr<const ImageProxy> image;
        Eyes eyes;
        Part part;
-       VideoFrame frame;
+       Frame frame;
 };
 
 #endif