Skip to content

Commit

Permalink
Change fps to 60
Browse files Browse the repository at this point in the history
This allows mplayer to keep up with the VideoFrameEvents.
  • Loading branch information
eleniums authored and deadprogram committed May 22, 2019
1 parent 64ab6f6 commit ae9bd2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/tello_video.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ae9bd2c

Please sign in to comment.