X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fvideo_decoder.h;fp=src%2Flib%2Fvideo_decoder.h;h=0b05b2f7143690237754d810d8557d8e80cb9d77;hp=23817c05536f4c568cef8cdc7a8358ec3991c074;hb=47f25009bcbc765e397bcb471dd361a511c99daf;hpb=afc495f722f89fea0bcc579046d1a5d362e36f69 diff --git a/src/lib/video_decoder.h b/src/lib/video_decoder.h index 23817c055..0b05b2f71 100644 --- a/src/lib/video_decoder.h +++ b/src/lib/video_decoder.h @@ -25,7 +25,7 @@ class VideoContent; -class VideoDecoder : public VideoSource, public virtual Decoder +class VideoDecoder : public TimedVideoSource, public virtual Decoder { public: VideoDecoder (boost::shared_ptr); @@ -56,21 +56,14 @@ protected: virtual PixelFormat pixel_format () const = 0; - void emit_video (boost::shared_ptr, double); + void emit_video (boost::shared_ptr, bool, double); void emit_subtitle (boost::shared_ptr); - bool have_last_video () const; - void repeat_last_video (double); private: - void signal_video (boost::shared_ptr, bool, boost::shared_ptr, double); - int _video_frame; double _last_content_time; boost::shared_ptr _timed_subtitle; - - boost::shared_ptr _last_image; - boost::shared_ptr _last_subtitle; }; #endif