diff options
author | Vittorio Palmisano <vpalmisano@gmail.com> | 2025-08-29 11:32:20 +0200 |
---|---|---|
committer | Leo Izen <leo.izen@gmail.com> | 2025-08-30 14:30:51 +0000 |
commit | 73d411c399df4abe2750b611fc8381979fcbafc6 (patch) | |
tree | ea17f1107e64390dc4591d071766cd7cfa8ae372 /libavfilter/af_whisper.c | |
parent | 3a0e324ab95d5e1de212b2815b0bf7622f838b3f (diff) | |
download | ffmpeg-master.tar.gz |
The SRT file format requires commas in the time string, not periods.
Diffstat (limited to 'libavfilter/af_whisper.c')
-rw-r--r-- | libavfilter/af_whisper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_whisper.c b/libavfilter/af_whisper.c index 385180b4ed..663fe446bb 100644 --- a/libavfilter/af_whisper.c +++ b/libavfilter/af_whisper.c @@ -246,7 +246,7 @@ static void run_transcription(AVFilterContext *ctx, AVFrame *frame, int samples) if (!av_strcasecmp(wctx->format, "srt")) { buf = av_asprintf - ("%d\n%02ld:%02ld:%02ld.%03ld --> %02ld:%02ld:%02ld.%03ld\n%s\n\n", + ("%d\n%02ld:%02ld:%02ld,%03ld --> %02ld:%02ld:%02ld,%03ld\n%s\n\n", wctx->index, start_t / 3600000, (start_t / 60000) % 60, (start_t / 1000) % 60, start_t % 1000, end_t / 3600000, (end_t / 60000) % 60, |