diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-12-18 21:13:53 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-12-18 21:13:53 +0000 |
| commit | 602fd58eff38fdfccc489b9f77b3ff0ca0009566 (patch) | |
| tree | f44645730c3b412fcc0c79f4bca73260567a362d /src/lib/video_decoder.h | |
| parent | 039a55081427b1ff0026cd6b9ca787526d37ef92 (diff) | |
| parent | 0330d9b2924767d9240c5a25e9ed4327eb0a73bd (diff) | |
Fix merge.
Diffstat (limited to 'src/lib/video_decoder.h')
| -rw-r--r-- | src/lib/video_decoder.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/video_decoder.h b/src/lib/video_decoder.h index f682941d1..97bbb0e48 100644 --- a/src/lib/video_decoder.h +++ b/src/lib/video_decoder.h @@ -45,7 +45,7 @@ public: void set_progress () const; - SourceFrame video_frame () const { + int video_frame () const { return _video_frame; } @@ -57,15 +57,15 @@ public: return _subtitle_streams; } - SourceFrame last_source_frame () const { - return _last_source_frame; + double last_source_time () const { + return _last_source_time; } protected: virtual PixelFormat pixel_format () const = 0; - void emit_video (boost::shared_ptr<Image>, SourceFrame); + void emit_video (boost::shared_ptr<Image>, double); void emit_subtitle (boost::shared_ptr<TimedSubtitle>); void repeat_last_video (); @@ -77,8 +77,8 @@ protected: private: void signal_video (boost::shared_ptr<Image>, boost::shared_ptr<Subtitle>); - SourceFrame _video_frame; - SourceFrame _last_source_frame; + int _video_frame; + double _last_source_time; boost::shared_ptr<TimedSubtitle> _timed_subtitle; |
