mirror of
https://github.com/aler9/gortsplib
synced 2025-09-27 03:25:52 +08:00
examples: print decode errors (#793)
This commit is contained in:
@@ -112,8 +112,9 @@ func main() {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
// wait for a frame
|
||||
// check for frame presence
|
||||
if img == nil {
|
||||
log.Printf("ERR: frame cannot be decoded")
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user