mirror of
https://github.com/pion/mediadevices.git
synced 2025-09-27 12:52:20 +08:00
23 lines
556 B
Go
23 lines
556 B
Go
//go:build dragonfly || freebsd || linux || netbsd || openbsd || solaris
|
|
// +build dragonfly freebsd linux netbsd openbsd solaris
|
|
|
|
package vaapi
|
|
|
|
func TestShouldImplementBitRateControl(t *testing.T) {
|
|
t.SkipNow() // TODO: Implement bit rate control
|
|
|
|
e := &encoderVP9{}
|
|
if _, ok := e.Controller().(codec.BitRateController); !ok {
|
|
t.Error()
|
|
}
|
|
}
|
|
|
|
func TestShouldImplementKeyFrameControl(t *testing.T) {
|
|
t.SkipNow() // TODO: Implement key frame control
|
|
|
|
e := &encoderVP9{}
|
|
if _, ok := e.Controller().(codec.KeyFrameController); !ok {
|
|
t.Error()
|
|
}
|
|
}
|