The branch, master has been updated
       via  7df92712723dee0ace3596684a90282c0e12a8ef (commit)
      from  1d06e8ddcd8c14232d0a3c2b1c21e50b232549b4 (commit)


- Log -----------------------------------------------------------------
commit 7df92712723dee0ace3596684a90282c0e12a8ef
Author:     Gyan Doshi <ffm...@gyani.pro>
AuthorDate: Sat Aug 16 16:12:10 2025 +0530
Commit:     Timo Rothenpieler <t...@rothenpieler.org>
CommitDate: Sun Aug 17 00:58:03 2025 +0000

    avfilter/whisper: correct option formatting

diff --git a/libavfilter/af_whisper.c b/libavfilter/af_whisper.c
index bd145d6d1d..385180b4ed 100644
--- a/libavfilter/af_whisper.c
+++ b/libavfilter/af_whisper.c
@@ -430,7 +430,8 @@ static int query_formats(const AVFilterContext *ctx,
 #define HOURS 3600000000
 
 static const AVOption whisper_options[] = {
-    { "model", "Path to the whisper.cpp model file", OFFSET(model_path), 
AV_OPT_TYPE_STRING,.flags = FLAGS }, { "language", "Language for transcription 
('auto' for auto-detect)", OFFSET(language), AV_OPT_TYPE_STRING, {.str = 
"auto"}, .flags = FLAGS },
+    { "model", "Path to the whisper.cpp model file", OFFSET(model_path), 
AV_OPT_TYPE_STRING,.flags = FLAGS },
+    { "language", "Language for transcription ('auto' for auto-detect)", 
OFFSET(language), AV_OPT_TYPE_STRING, {.str = "auto"}, .flags = FLAGS },
     { "queue", "Audio queue size", OFFSET(queue), AV_OPT_TYPE_DURATION, {.i64 
= 3000000}, 20000, HOURS, .flags = FLAGS },
     { "use_gpu", "Use GPU for processing", OFFSET(use_gpu), AV_OPT_TYPE_BOOL, 
{.i64 = 1}, 0, 1, .flags = FLAGS },
     { "gpu_device", "GPU device to use", OFFSET(gpu_device), AV_OPT_TYPE_INT, 
{.i64 = 0}, 0, INT_MAX, .flags = FLAGS },

-----------------------------------------------------------------------

Summary of changes:
 libavfilter/af_whisper.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to