summaryrefslogtreecommitdiff
path: root/src/lib/butler.cc
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.cc
parente444fbd0d7c8a32e9f50adc19d0d49ae7c489a11 (diff)
Remove functors for choosing pixel format output from make_image().
Diffstat (limited to 'src/lib/butler.cc')
-rw-r--r--src/lib/butler.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/butler.cc b/src/lib/butler.cc
index 14f342045..5edd84115 100644
--- a/src/lib/butler.cc
+++ b/src/lib/butler.cc
@@ -31,7 +31,6 @@
using std::cout;
-using std::function;
using std::make_pair;
using std::pair;
using std::shared_ptr;
@@ -65,7 +64,7 @@ Butler::Butler(
Player& player,
AudioMapping audio_mapping,
int audio_channels,
- function<AVPixelFormat (AVPixelFormat)> pixel_format,
+ AVPixelFormat pixel_format,
VideoRange video_range,
Image::Alignment alignment,
bool fast,