mirror of https://github.com/jetkvm/kvm.git
fix(native): add video init to native start
This commit is contained in:
parent
8d368a8a7c
commit
9db23f28db
|
|
@ -77,5 +77,7 @@ func (n *Native) Start() {
|
|||
n.initUI()
|
||||
go n.tickUI()
|
||||
|
||||
videoInit()
|
||||
|
||||
close(n.ready)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,3 +23,13 @@ func (n *Native) VideoSetEDID(edid string) error {
|
|||
func (n *Native) VideoGetEDID() (string, error) {
|
||||
return videoGetEDID()
|
||||
}
|
||||
|
||||
func (n *Native) VideoStop() error {
|
||||
videoStop()
|
||||
return nil
|
||||
}
|
||||
|
||||
func (n *Native) VideoStart() error {
|
||||
videoStart()
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue