Fixed hardware decode example

This commit is contained in:
Quentin Renard
2024-11-26 10:23:43 +01:00
parent b2f7542ae8
commit ca1f6cd795

View File

@@ -92,7 +92,10 @@ func main() {
}
// Create stream
s := &stream{inputStream: is}
s := &stream{
inputStream: is,
hardwarePixelFormat: astiav.PixelFormatNone,
}
// Find decoder
if *decoderCodecName != "" {