Commit 602985ce for whisper.cpp
commit 602985ceb5d7f3cd603278605830c7dc59c37e49
Author: Lucius <37386791+luciusacarr@users.noreply.github.com>
Date: Mon Nov 23 20:45:48 2026 -0800
whisper : clear result_all in whisper_full_parallel when VAD finds no speech (#4192)
diff --git a/src/whisper.cpp b/src/whisper.cpp
index 0336bf77..ae9004d5 100644
--- a/src/whisper.cpp
+++ b/src/whisper.cpp
@@ -8000,6 +8000,7 @@ int whisper_full_parallel(
return -1;
}
if (vad_samples.empty()) {
+ ctx->state->result_all.clear();
return 0;
}
samples = vad_samples.data();