Skip to content

Commit

Permalink
Fixed hardware decode example
Browse files Browse the repository at this point in the history
  • Loading branch information
asticode committed Nov 26, 2024
1 parent c9d8c33 commit 51a5afc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/hardware_decoding/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@ func main() {
}

// Create stream
s := &stream{inputStream: is}
s := &stream{
inputStream: is,
hardwarePixelFormat: astiav.PixelFormatNone,
}

// Find decoder
if *decoderCodecName != "" {
Expand Down

0 comments on commit 51a5afc

Please sign in to comment.