Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Version used: 1.1.0-alpha02
Devices/Android versions reproduced on: android emulator API 34(google play intel x86_64)
When I use code like bellow, it throw android.media.MediaCodec$CodecException: Error 0x16:
Error occur when setHighBitDepthEnabled(true) but set value false it can work.
AvifWriter.Builder(it.fileDescriptor, 1000, 1000,
AvifWriter.INPUT_MODE_BITMAP)
.setGridEnabled(false)
.setHighBitDepthEnabled(true)
.setQuality(100)
.build()
.use { writer ->
writer.apply {
start()
addBitmap(src)
stop(0)
}
}
Is the device not supported or is a bug?