编码器的bufferQueue报错?
04-19 18:15:58.074 1611 5120 E C01401/Bufferqueue: [nodict]<514>CheckBufferConfig: width or height is greater than 0, now is w 0 h 0 04-19 18:15:58.074 1611 5120 E C01401/Bufferqueue: nodict AllocBuffer: Failure [1669], Reason: Alloc failed, then <400 invalid arguments> 04-19 18:15:58.074 1611 5120 E C01401/Bufferqueue: nodict RequestBuffer: Fail to alloc or map Buffer[0 0] ret: 40001000, id: 6919192313868 04-19 18:15:58.074 19365 19554 E C01401/Bufferqueue: [nodict]<115>NativeWindowRequestBuffer: API failed, please check RequestBuffer function ret:40001000, Queue Id:6919192313868 04-19 18:15:58.074 19365 19554 E A0FF00/Xhey:C:EglRenderContext: EglRenderContext::SwapBuffers: Failed to SwapBuffers on EGLSurface 1, error is EGL_SUCCESS.
代码按照:https://developer.huawei.com/consumer/cn/doc/harmonyos-guides/video-encoding-0000001822162721\#ZH-CN\_TOPIC\_0000001811157774\_\_buffer模式描述的走Surface模式,通过opengl 走buffer模式,通过OH\_VideoEncoder\_GetSurface获得nativeWindow, 通过eglCreateWindowSurface创建surface ,之后和camera的纹理进行swap, 但是bufferQueue报错。