diff options
Diffstat (limited to 'src/lib/player_video.h')
| -rw-r--r-- | src/lib/player_video.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/player_video.h b/src/lib/player_video.h index df0ef6d15..48c927f85 100644 --- a/src/lib/player_video.h +++ b/src/lib/player_video.h @@ -76,7 +76,7 @@ public: } void prepare(AVPixelFormat pixel_format, VideoRange video_range, Image::Alignment alignment, bool fast, bool proxy_only); - std::shared_ptr<Image> image(AVPixelFormat pixel_format, VideoRange video_range, bool fast) const; + std::shared_ptr<Image> image(std::function<AVPixelFormat (AVPixelFormat)> pixel_format, VideoRange video_range, bool fast) const; std::shared_ptr<const Image> raw_image() const; void add_metadata(xmlpp::Element* element) const; @@ -128,7 +128,7 @@ public: } private: - void make_image(AVPixelFormat pixel_format, VideoRange video_range, bool fast) const; + void make_image(std::function<AVPixelFormat (AVPixelFormat)> pixel_format, VideoRange video_range, bool fast) const; std::shared_ptr<const ImageProxy> _in; Crop _crop; |
