summaryrefslogtreecommitdiff
path: root/src/lib/butler.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-05-25 22:16:19 +0200
committerCarl Hetherington <cth@carlh.net>2025-05-26 21:51:18 +0200
commitdf9b4676aba8b941f124b174393988cad21677e1 (patch)
tree21658068cf5b2a74e23339e013398b20b327f886 /src/lib/butler.h
parente444fbd0d7c8a32e9f50adc19d0d49ae7c489a11 (diff)
Remove functors for choosing pixel format output from make_image().
Diffstat (limited to 'src/lib/butler.h')
-rw-r--r--src/lib/butler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/butler.h b/src/lib/butler.h
index 011f0d28e..d85ec90f4 100644
--- a/src/lib/butler.h
+++ b/src/lib/butler.h
@@ -55,7 +55,7 @@ public:
Player& player,
AudioMapping map,
int audio_channels,
- std::function<AVPixelFormat(AVPixelFormat)> pixel_format,
+ AVPixelFormat pixel_format,
VideoRange video_range,
Image::Alignment alignment,
bool fast,
@@ -135,7 +135,7 @@ private:
bool _disable_audio;
- std::function<AVPixelFormat (AVPixelFormat)> _pixel_format;
+ AVPixelFormat _pixel_format;
VideoRange _video_range;
Image::Alignment _alignment;
bool _fast;