From 89aa9d4ba69e471949f791cdafe4ae20cea554d2 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 21 Feb 2017 21:42:44 +0000 Subject: Various fixes to push audio vaguely in the right direction. --- src/lib/video_decoder.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/video_decoder.h') 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 position () const { + ContentTime position () const { return _position; } @@ -62,7 +62,7 @@ public: private: boost::shared_ptr _content; boost::optional _last_emitted; - boost::optional _position; + ContentTime _position; }; #endif -- cgit v1.2.3