Update CI configs to v0.7.2

Update lint scripts and CI configs.
This commit is contained in:
Pion
2022-04-27 03:28:46 +00:00
committed by Sean DuBois
parent dc31439c93
commit c1467e4871
28 changed files with 126 additions and 77 deletions

View File

@@ -5,6 +5,7 @@ package main
import (
"context"
"errors"
"fmt"
"io"
"os"
@@ -78,7 +79,7 @@ func main() {
sleepTime := time.Millisecond * time.Duration((float32(header.TimebaseNumerator)/float32(header.TimebaseDenominator))*1000)
for {
frame, _, ivfErr := ivf.ParseNextFrame()
if ivfErr == io.EOF {
if errors.Is(ivfErr, io.EOF) {
fmt.Printf("All frames parsed and sent")
os.Exit(0)
}