aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorVittorio Palmisano <vpalmisano@gmail.com>2025-08-29 11:32:20 +0200
committerLeo Izen <leo.izen@gmail.com>2025-08-30 14:30:51 +0000
commit73d411c399df4abe2750b611fc8381979fcbafc6 (patch)
treeea17f1107e64390dc4591d071766cd7cfa8ae372 /libavfilter
parent3a0e324ab95d5e1de212b2815b0bf7622f838b3f (diff)
downloadffmpeg-master.tar.gz
avfilter/af_whisper: fix srt file formatHEADmaster
The SRT file format requires commas in the time string, not periods.
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/af_whisper.c2
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,