diff --git a/examples/hardware_decoding/main.go b/examples/hardware_decoding/main.go index a1847f5..c4ac528 100644 --- a/examples/hardware_decoding/main.go +++ b/examples/hardware_decoding/main.go @@ -92,7 +92,10 @@ func main() { } // Create stream - s := &stream{inputStream: is} + s := &stream{ + inputStream: is, + hardwarePixelFormat: astiav.PixelFormatNone, + } // Find decoder if *decoderCodecName != "" {