diff options
Diffstat (limited to 'internal/media/ffmpeg/runner.go')
-rw-r--r-- | internal/media/ffmpeg/runner.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/internal/media/ffmpeg/runner.go b/internal/media/ffmpeg/runner.go index 403131ff7..8c59ac752 100644 --- a/internal/media/ffmpeg/runner.go +++ b/internal/media/ffmpeg/runner.go @@ -20,6 +20,7 @@ package ffmpeg import ( "context" + "codeberg.org/gruf/go-ffmpreg/wasm" "github.com/tetratelabs/wazero" ) @@ -65,6 +66,6 @@ func (r *runner) Run(ctx context.Context, cmod wazero.CompiledModule, args Args) // Release slot back to pool on end. defer func() { r.pool <- struct{}{} }() - // Pass to main module runner. - return run(ctx, cmod, args) + // Pass to main module runner function. + return wasm.Run(ctx, runtime, cmod, args) } |