diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-05-25 22:03:30 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-05-26 21:51:18 +0200 |
| commit | e444fbd0d7c8a32e9f50adc19d0d49ae7c489a11 (patch) | |
| tree | 97b973e8c6b0ea6c2bdebe0eaa7af07c705882d1 | |
| parent | 06f359d678b8782a7f599c0a3f41b7c8282efcd9 (diff) | |
Remove last use of keep_xyz_or_rgb.
| -rw-r--r-- | src/lib/dcp_video.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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<const PlayerVideo> 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(); } |
