X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fffmpeg_image_proxy.h;h=b567fadee0825e2c6506746c6d44739c999132ea;hb=HEAD;hp=21109c9d6f2dccf9baf64f11ebbc3b2ac24618bc;hpb=62f9b78a2eb5f0fc6b9028264bac6ad501d83309;p=dcpomatic.git diff --git a/src/lib/ffmpeg_image_proxy.h b/src/lib/ffmpeg_image_proxy.h index 21109c9d6..b567fadee 100644 --- a/src/lib/ffmpeg_image_proxy.h +++ b/src/lib/ffmpeg_image_proxy.h @@ -19,7 +19,6 @@ */ #include "image_proxy.h" -#include "types.h" #include #include #include @@ -32,13 +31,14 @@ public: FFmpegImageProxy (std::shared_ptr socket); Result image ( + Image::Alignment alignment, boost::optional size = boost::optional () - ) const; + ) const override; - void add_metadata (xmlpp::Node *) const; - void write_to_socket (std::shared_ptr) const; - bool same (std::shared_ptr other) const; - size_t memory_used () const; + void add_metadata (xmlpp::Node *) const override; + void write_to_socket (std::shared_ptr) const override; + bool same (std::shared_ptr other) const override; + size_t memory_used () const override; int avio_read (uint8_t* buffer, int const amount); int64_t avio_seek (int64_t const pos, int whence); @@ -50,6 +50,6 @@ private: failed-decode errors can give more detail. */ boost::optional _path; - mutable std::shared_ptr _image; + mutable std::shared_ptr _image; mutable boost::mutex _mutex; };