tello: video player example better with the fast option
Signed-off-by: Ron Evans <ron@hybridgroup.com>
This commit is contained in:
parent
99410dc4d1
commit
296bd767ae
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue