From 8c7abab0f7cd242e315b0a3b15cb313a44ed8cd2 Mon Sep 17 00:00:00 2001 From: Pacharapol Withayasakpunt Date: Mon, 24 Oct 2022 16:42:34 +0700 Subject: [PATCH] fix string replace typo --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index a435a09..51541c0 100644 --- a/main.cpp +++ b/main.cpp @@ -239,7 +239,7 @@ bool output_vtt(struct whisper_context * ctx, const char * fname) { const int64_t t0 = whisper_full_get_segment_t0(ctx, i); const int64_t t1 = whisper_full_get_segment_t1(ctx, i); - fout << to_timestamp(t0).replace() << " --> " << to_timestamp(t1) << "\n"; + fout << to_timestamp(t0) << " --> " << to_timestamp(t1) << "\n"; fout << text << "\n\n"; }