mirror of
https://github.com/asticode/go-astiav.git
synced 2025-10-07 17:10:58 +08:00
Updated hardware decoding example #2
This commit is contained in:
@@ -205,4 +205,7 @@ func main() {
|
|||||||
log.Printf("new frame: stream %d - pts: %d - transferred: %v", pkt.StreamIndex(), finalFrame.Pts(), hardwareFrame.PixelFormat() == s.hardwarePixelFormat)
|
log.Printf("new frame: stream %d - pts: %d - transferred: %v", pkt.StreamIndex(), finalFrame.Pts(), hardwareFrame.PixelFormat() == s.hardwarePixelFormat)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Success
|
||||||
|
log.Println("success")
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user