Change fps to 60
This allows mplayer to keep up with the VideoFrameEvents.
This commit is contained in:
parent
64ab6f6b8f
commit
ae9bd2c997
|
@ -25,7 +25,7 @@ import (
|
|||
func main() {
|
||||
drone := tello.NewDriver("8890")
|
||||
|
||||
mplayer := exec.Command("mplayer", "-fps", "25", "-")
|
||||
mplayer := exec.Command("mplayer", "-fps", "60", "-")
|
||||
mplayerIn, _ := mplayer.StdinPipe()
|
||||
if err := mplayer.Start(); err != nil {
|
||||
fmt.Println(err)
|
||||
|
|
Loading…
Reference in New Issue