add h264. Should hopefully be good for now. not going to push docker build until fully tested.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
//go:build !cgo
|
||||
|
||||
package capture
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"image"
|
||||
)
|
||||
|
||||
func encodeH264Frame(_ *image.RGBA) ([]byte, error) {
|
||||
return nil, errors.New("h264 support not available (cgo disabled)")
|
||||
}
|
||||
|
||||
func h264Available() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func resetH264Encoder() {}
|
||||
Reference in New Issue
Block a user