X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fvideo_decoder.h;h=5d9a6b8a051a62059f9717771c4585d4eb5aae86;hb=dd9be86db6cde0afa5da0d1d1ac43b42e05dca26;hp=c8530d82caa850429536e0bd0859396f198c7e4c;hpb=588a3899fd6069f18b6e9f3d5ec62f2e938e034d;p=dcpomatic.git diff --git a/src/lib/video_decoder.h b/src/lib/video_decoder.h index c8530d82c..5d9a6b8a0 100644 --- a/src/lib/video_decoder.h +++ b/src/lib/video_decoder.h @@ -31,12 +31,12 @@ #include "content_video.h" #include "decoder_part.h" #include -#include class VideoContent; class ImageProxy; class Image; class Log; +class FrameIntervalChecker; /** @class VideoDecoder * @brief Parent for classes which decode video. @@ -44,29 +44,29 @@ class Log; class VideoDecoder : public DecoderPart { public: - VideoDecoder (Decoder* parent, boost::shared_ptr c); + VideoDecoder (Decoder* parent, std::shared_ptr c); friend struct video_decoder_fill_test1; friend struct video_decoder_fill_test2; 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 (boost::shared_ptr) const { + boost::optional position (std::shared_ptr) const { return _position; } void seek (); - void emit (boost::shared_ptr film, boost::shared_ptr, Frame frame); + void emit (std::shared_ptr film, std::shared_ptr, Frame frame); boost::signals2::signal Data; private: - boost::shared_ptr _content; + std::shared_ptr _content; /** Frame of last thing to be emitted; only used for 3D */ boost::optional _last_emitted_frame; boost::optional _last_emitted_eyes; boost::optional _position; - std::vector _last_threed_frames; + boost::scoped_ptr _frame_interval_checker; }; #endif