mirror of
https://github.com/ggml-org/whisper.cpp.git
synced 2026-09-29 01:17:49 -05:00
The language auto-detect path in whisper_full_with_state ran the encoder without firing encoder_begin_callback, unlike the main transcription loop. Callers that gate, observe, or abort whisper's encode through the callback had no control over the auto-detection pass. Guard the auto-detect encode with the callback the same way the main loop does.