From e444fbd0d7c8a32e9f50adc19d0d49ae7c489a11 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 25 May 2025 22:03:30 +0200 Subject: Remove last use of keep_xyz_or_rgb. --- src/lib/dcp_video.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/dcp_video.cc b/src/lib/dcp_video.cc index f5dd0f98a..66c09daca 100644 --- a/src/lib/dcp_video.cc +++ b/src/lib/dcp_video.cc @@ -120,7 +120,7 @@ DCPVideo::convert_to_xyz(shared_ptr frame) dcp::Size DCPVideo::get_size() const { - auto image = _frame->image(bind(&PlayerVideo::keep_xyz_or_rgb, _1), VideoRange::FULL, false); + auto image = _frame->image([](AVPixelFormat) { return AV_PIX_FMT_RGB48LE; }, VideoRange::FULL, false); return image->size(); } -- cgit v1.2.3