Change fps to 60

This allows mplayer to keep up with the VideoFrameEvents.
This commit is contained in:
eleniums 2018-10-12 09:16:45 -07:00 committed by Ron Evans
parent 64ab6f6b8f
commit ae9bd2c997
1 changed files with 1 additions and 1 deletions

View File

@ -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)