X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fffmpeg_image_proxy.h;h=21109c9d6f2dccf9baf64f11ebbc3b2ac24618bc;hb=23aa3071850761144798112a5aaea61304de8586;hp=62b99d280f42e4b7f42f790e2cb52f0be66d475b;hpb=6fa9748f382302fa88292b4219598bb81edc7bd0;p=dcpomatic.git diff --git a/src/lib/ffmpeg_image_proxy.h b/src/lib/ffmpeg_image_proxy.h index 62b99d280..21109c9d6 100644 --- a/src/lib/ffmpeg_image_proxy.h +++ b/src/lib/ffmpeg_image_proxy.h @@ -19,6 +19,7 @@ */ #include "image_proxy.h" +#include "types.h" #include #include #include @@ -28,15 +29,15 @@ class FFmpegImageProxy : public ImageProxy public: explicit FFmpegImageProxy (boost::filesystem::path); explicit FFmpegImageProxy (dcp::ArrayData); - FFmpegImageProxy (boost::shared_ptr xml, boost::shared_ptr socket); + FFmpegImageProxy (std::shared_ptr socket); Result image ( boost::optional size = boost::optional () ) const; void add_metadata (xmlpp::Node *) const; - void write_to_socket (boost::shared_ptr) const; - bool same (boost::shared_ptr other) const; + void write_to_socket (std::shared_ptr) const; + bool same (std::shared_ptr other) const; size_t memory_used () const; int avio_read (uint8_t* buffer, int const amount); @@ -49,6 +50,6 @@ private: failed-decode errors can give more detail. */ boost::optional _path; - mutable boost::shared_ptr _image; + mutable std::shared_ptr _image; mutable boost::mutex _mutex; };