mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
Merge pull request #25716 from alexlyulkov:al/mediandk-fix
Added potential fix for Android H264 Encoding Bug
This commit is contained in:
commit
a5d9c29b12
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user