diff options
| author | Aaron Boxer <boxerab@protonmail.com> | 2026-04-11 09:31:58 -0400 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-04-11 17:22:01 +0200 |
| commit | 1b33fb3d1e17b859dc5166cb4d0783b17c60becf (patch) | |
| tree | dffa34c4340fd52af3f43bc7feaeb68040baafe5 /src/lib/moving_image_decoder.h | |
| parent | d9e0bff92f54aa1b7e9ff667cdce4dc8243c5219 (diff) | |
Grok: fix hang when encoding with burned-in subtitles and no colour conversion
When a source has no colour conversion (e.g. an already-XYZ J2K DCP),
every frame normally bypasses encoding via the has_j2k() fast-path. But
has_j2k() returns false as soon as _text is set, so the first
burned-subtitle frame goes through the encode path and hits the
colour_conversion assertion in the Grok variant of
convert_to_xyz(), killing the Grok threads one by one until the queue
can no longer drain.
Handle the no-conversion case the same way the local convert_to_xyz()
overload does: the image is already XYZ12LE, so copy it straight into
the destination buffer.
Diffstat (limited to 'src/lib/moving_image_decoder.h')
0 files changed, 0 insertions, 0 deletions
