1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

Merge pull request #25716 from alexlyulkov:al/mediandk-fix

Added potential fix for Android H264 Encoding Bug
This commit is contained in:
Alexander Smorkalov
2024-06-06 12:48:20 +03:00
committed by GitHub
@@ -587,6 +587,7 @@ public:
LOGE("ERROR: AMediaCodec_createInputSurface (%d)", status);
goto error;
}
ANativeWindow_setBuffersGeometry(surface, width, height, AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM);
#endif
AMediaCodec_start(encoder);