Basics of FFmpeg examiner works.
[dcpomatic.git] / src / lib / black_decoder.cc
index 3cdd5eef5c7202e28aa37ef17fd46963b06e0c2d..0b231edd355cdd4bc93d06c31bc849cb8f3f2a78 100644 (file)
@@ -60,7 +60,7 @@ BlackDecoder::video_length () const
 }
 
 Time
-BlackDecoder::next () const
+BlackDecoder::position () const
 {
        return _next_video;
 }
@@ -92,3 +92,11 @@ BlackDecoder::seek_forward ()
 
        _next_video += f->video_frames_to_time (1);
 }
+
+bool
+BlackDecoder::done () const
+{
+       return video_done ();
+}
+
+