From e1781ff52e860009d10150e3a541423ba004ebb4 Mon Sep 17 00:00:00 2001
From: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>
Date: Mon, 3 Feb 2025 12:42:06 +0000
Subject: adds support for build specifically without wasm ffmpeg (#3732)
---
internal/media/ffmpeg/exec_nowasm.go | 2 +-
internal/media/ffmpeg/ffmpeg.go | 2 +-
internal/media/ffmpeg/ffmpeg_nowasm.go | 2 +-
internal/media/ffmpeg/ffprobe.go | 2 +-
internal/media/ffmpeg/ffprobe_nowasm.go | 2 +-
internal/media/ffmpeg/wasm.go | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
(limited to 'internal')
diff --git a/internal/media/ffmpeg/exec_nowasm.go b/internal/media/ffmpeg/exec_nowasm.go
index 140cec5bc..4a4646854 100644
--- a/internal/media/ffmpeg/exec_nowasm.go
+++ b/internal/media/ffmpeg/exec_nowasm.go
@@ -15,7 +15,7 @@
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see .
-//go:build nowasm
+//go:build nowasmffmpeg || nowasm
package ffmpeg
diff --git a/internal/media/ffmpeg/ffmpeg.go b/internal/media/ffmpeg/ffmpeg.go
index b978201c1..ae88c1e9a 100644
--- a/internal/media/ffmpeg/ffmpeg.go
+++ b/internal/media/ffmpeg/ffmpeg.go
@@ -15,7 +15,7 @@
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see .
-//go:build !nowasm
+//go:build !nowasmffmpeg && !nowasm
package ffmpeg
diff --git a/internal/media/ffmpeg/ffmpeg_nowasm.go b/internal/media/ffmpeg/ffmpeg_nowasm.go
index 6f528da1a..eed955ae1 100644
--- a/internal/media/ffmpeg/ffmpeg_nowasm.go
+++ b/internal/media/ffmpeg/ffmpeg_nowasm.go
@@ -15,7 +15,7 @@
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see .
-//go:build nowasm
+//go:build nowasmffmpeg || nowasm
package ffmpeg
diff --git a/internal/media/ffmpeg/ffprobe.go b/internal/media/ffmpeg/ffprobe.go
index 410935d9c..bf166b12b 100644
--- a/internal/media/ffmpeg/ffprobe.go
+++ b/internal/media/ffmpeg/ffprobe.go
@@ -15,7 +15,7 @@
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see .
-//go:build !nowasm
+//go:build !nowasmffmpeg && !nowasm
package ffmpeg
diff --git a/internal/media/ffmpeg/ffprobe_nowasm.go b/internal/media/ffmpeg/ffprobe_nowasm.go
index 122fb53f4..bc42ea726 100644
--- a/internal/media/ffmpeg/ffprobe_nowasm.go
+++ b/internal/media/ffmpeg/ffprobe_nowasm.go
@@ -15,7 +15,7 @@
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see .
-//go:build nowasm
+//go:build nowasmffmpeg || nowasm
package ffmpeg
diff --git a/internal/media/ffmpeg/wasm.go b/internal/media/ffmpeg/wasm.go
index a5612ba14..a22431fdd 100644
--- a/internal/media/ffmpeg/wasm.go
+++ b/internal/media/ffmpeg/wasm.go
@@ -15,7 +15,7 @@
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see .
-//go:build !nowasm
+//go:build !nowasmffmpeg && !nowasm
package ffmpeg
--
cgit v1.2.3