let it roll forever

This commit is contained in:
Keyvan Fatehi
2023-02-20 19:28:00 -08:00
parent 4987a60b7c
commit 23a5a8bffb

View File

@@ -23,14 +23,8 @@ func main() {
go track.Start()
count := 0
for frame := range track.Frame {
// Do something with decoded frame
fmt.Println(frame.Roll)
count++
if count > 100 {
track.Stop()
}
}
}