diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-07-22 00:18:32 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-08-12 17:16:07 +0200 |
| commit | 9b73c143ce568bd8694e3a50f2fefc1ee3a03515 (patch) | |
| tree | b6774c68129ccc687c34a8271fa5e1361b93d3d0 /test/dcp_playback_test.cc | |
| parent | 0114987c5d6040d8fe07a719d7f97b0a5e200458 (diff) | |
Replace AVPixelFormat parameter to PlayerVideo::image with a functor.
This was removed in df9b4676aba8b941f124b174393988cad21677e1 and
surrounding commits, but it turns out we need it after all.
Diffstat (limited to 'test/dcp_playback_test.cc')
| -rw-r--r-- | test/dcp_playback_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dcp_playback_test.cc b/test/dcp_playback_test.cc index 7b2280883..752ae56a2 100644 --- a/test/dcp_playback_test.cc +++ b/test/dcp_playback_test.cc @@ -60,6 +60,6 @@ BOOST_AUTO_TEST_CASE (dcp_playback_test) } /* assuming DCP is 24fps/48kHz */ butler->get_audio (Butler::Behaviour::BLOCKING, audio_buffer.data(), 2000); - p.first->image(AV_PIX_FMT_RGB24, VideoRange::FULL, true); + p.first->image(force(AV_PIX_FMT_RGB24), VideoRange::FULL, true); } } |
