Skip to content

Commit 3f2badc

Browse files
committed
Updated transcoding example encoder codec id
1 parent 592d8ea commit 3f2badc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/transcoding/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ func openOutputFile() (err error) {
265265
}
266266

267267
// Get codec id
268-
codecID := astiav.CodecIDMpeg4
268+
codecID := astiav.CodecIDH264
269269
if s.decCodecContext.MediaType() == astiav.MediaTypeAudio {
270270
codecID = astiav.CodecIDAac
271271
}

0 commit comments

Comments
 (0)