Skip to content

Commit

Permalink
Updated transcoding example encoder codec id
Browse files Browse the repository at this point in the history
  • Loading branch information
asticode committed Nov 17, 2024
1 parent 592d8ea commit 3f2badc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/transcoding/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ func openOutputFile() (err error) {
}

// Get codec id
codecID := astiav.CodecIDMpeg4
codecID := astiav.CodecIDH264
if s.decCodecContext.MediaType() == astiav.MediaTypeAudio {
codecID = astiav.CodecIDAac
}
Expand Down

0 comments on commit 3f2badc

Please sign in to comment.