X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fplayer_video.h;h=f296848320a77a053d863d5ded423c05015d7dbc;hb=c7916079e06d985121842962b9736a6673e22dfe;hp=df0007ddfd9676a6d25ac69699e5e131575911e0;hpb=42cdfe79afa72a428b5ee851611079f84d237f63;p=dcpomatic.git diff --git a/src/lib/player_video.h b/src/lib/player_video.h index df0007ddf..f29684832 100644 --- a/src/lib/player_video.h +++ b/src/lib/player_video.h @@ -71,8 +71,8 @@ public: void set_text (PositionImage); - void prepare (boost::function pixel_format, VideoRange video_range, bool aligned, bool fast); - std::shared_ptr image (boost::function pixel_format, VideoRange video_range, bool aligned, bool fast) const; + void prepare (std::function pixel_format, VideoRange video_range, bool aligned, bool fast); + std::shared_ptr image (std::function pixel_format, VideoRange video_range, bool aligned, bool fast) const; static AVPixelFormat force (AVPixelFormat, AVPixelFormat); static AVPixelFormat keep_xyz_or_rgb (AVPixelFormat); @@ -118,7 +118,7 @@ public: } private: - void make_image (boost::function pixel_format, VideoRange video_range, bool aligned, bool fast) const; + void make_image (std::function pixel_format, VideoRange video_range, bool aligned, bool fast) const; std::shared_ptr _in; Crop _crop;