whisper.cpp
c44b60b8 - whisper : call encoder_begin_callback before language auto-detect (#3936)

Commit
37 days ago
whisper : call encoder_begin_callback before language auto-detect (#3936) 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.
Parents
Loading