|
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.
|