tello: video player example better with the fast option

Signed-off-by: Ron Evans <ron@hybridgroup.com>
This commit is contained in:
Ron Evans 2018-04-18 13:11:46 +02:00
parent 99410dc4d1
commit 296bd767ae
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ func main() {
drone := tello.NewDriver("8890") drone := tello.NewDriver("8890")
work := func() { work := func() {
ffplay := exec.Command("ffplay", "-i", "pipe:0") ffplay := exec.Command("ffplay", "-fast", "-i", "pipe:0")
ffplayIn, _ := ffplay.StdinPipe() ffplayIn, _ := ffplay.StdinPipe()
if err := ffplay.Start(); err != nil { if err := ffplay.Start(); err != nil {
fmt.Println(err) fmt.Println(err)