mirror of
https://github.com/asticode/go-astiav.git
synced 2025-10-07 17:10:58 +08:00
Fixed hardware decode example
This commit is contained in:
@@ -92,7 +92,10 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Create stream
|
// Create stream
|
||||||
s := &stream{inputStream: is}
|
s := &stream{
|
||||||
|
inputStream: is,
|
||||||
|
hardwarePixelFormat: astiav.PixelFormatNone,
|
||||||
|
}
|
||||||
|
|
||||||
// Find decoder
|
// Find decoder
|
||||||
if *decoderCodecName != "" {
|
if *decoderCodecName != "" {
|
||||||
|
Reference in New Issue
Block a user