diff options
author | 2024-10-06 20:53:03 +0000 | |
---|---|---|
committer | 2024-10-06 20:53:03 +0000 | |
commit | bd1866ad8a860e1b6d43c7fc988cf8c346f19f33 (patch) | |
tree | 6726f95b30b73baa4e5a7feed5c0b41bf46116db /internal/media/ffmpeg/runner.go | |
parent | [chore/themes] Tweak colors on new themes (#3397) (diff) | |
download | gotosocial-bd1866ad8a860e1b6d43c7fc988cf8c346f19f33.tar.xz |
update go-ffmpreg to v0.3.1 (pulls in latest wazero too) (#3398)
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) } |