From ae9bd2c997bd91467aeb09de2b4215594b5913f2 Mon Sep 17 00:00:00 2001 From: eleniums Date: Fri, 12 Oct 2018 09:16:45 -0700 Subject: [PATCH] Change fps to 60 This allows mplayer to keep up with the VideoFrameEvents. --- examples/tello_video.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/tello_video.go b/examples/tello_video.go index b30492c5..3d2bf15d 100644 --- a/examples/tello_video.go +++ b/examples/tello_video.go @@ -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)