Files
openchamber-android-native/third_party/mygo/plugins/render/sink_other.go
T

14 lines
424 B
Go
Raw Normal View History

//go:build !(darwin && !ios) && !windows && !(linux && !android && (amd64 || arm64))
package render
import (
"errors"
"fmt"
)
// newVideoSink returns none: the system has no media framework MyGo
// encodes video with.
func newVideoSink(spec videoSpec, d drawer) (sink, error) {
return nil, fmt.Errorf("render: %w: no video encoder on this system: encode with Options{Encoder: render.FFmpeg}", errors.ErrUnsupported)
}