node build fixed

This commit is contained in:
ra_ma
2025-09-20 14:08:38 +01:00
parent c6ebbe069d
commit 3d298fa434
1516 changed files with 535727 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
package transcoder
import "os"
func GetEnvOr(env string, def string) string {
out := os.Getenv(env)
if out == "" {
return def
}
return out
}
type HwAccelSettings struct {
Name string `json:"name"`
DecodeFlags []string `json:"decodeFlags"`
EncodeFlags []string `json:"encodeFlags"`
ScaleFilter string `json:"scaleFilter"`
WithForcedIdr bool `json:"removeForcedIdr"`
}