diff options
Diffstat (limited to 'src/lib/video_decoder.h')
| -rw-r--r-- | src/lib/video_decoder.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/video_decoder.h b/src/lib/video_decoder.h index 6609811e4..e16884568 100644 --- a/src/lib/video_decoder.h +++ b/src/lib/video_decoder.h @@ -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 |
