Various fixes to push audio vaguely in the right direction.
[dcpomatic.git] / src / lib / video_decoder.h
index 6609811e4339f804288feda8b68ed8068329dcda..e16884568555a72b7c384ffa3a29376ed9681910 100644 (file)
@@ -51,7 +51,7 @@ public:
        friend struct ffmpeg_pts_offset_test;
        friend void ffmpeg_decoder_sequential_test_one (boost::filesystem::path file, float fps, int gaps, int video_length);
 
-       boost::optional<ContentTime> position () const {
+       ContentTime position () const {
                return _position;
        }
 
@@ -62,7 +62,7 @@ public:
 private:
        boost::shared_ptr<const Content> _content;
        boost::optional<Frame> _last_emitted;
-       boost::optional<ContentTime> _position;
+       ContentTime _position;
 };
 
 #endif