Android: Dequeuing native buffer returns error from omxcodec: Dequeued unrecognized buffer

与世无争的帅哥 提交于 2019-12-11 01:41:18

问题


I am using omxcodec of stage-fright framework to perform h.264 hardware decoding and the AwesomeNativeRenderer to render it to the surface.
Currently I am using karbonn A9+ device with android 4.0.4. For resolutions upto 480p it instantiates OMX.qcom.video.decoder.avc and for 720p it instantiates OMX.ittiam.video.decoder.avc and when I try to display the video like AwesomeNativeRenderer of Awesomeplayer works fine for resolutions till 480p but for 720p it returns with error

07-25 17:26:16.549: E/OMXCodec(1454): [OMX.ittiam.video.decoder.avc] dequeued unrecognized buffer: 0xe8078c

If I do not use native window to pass buffers it comes fine (with out passing the native window to the omxcodec).
I have tried it in Motorola xoom device with android 4.0.4 where it works fine.

  1. Is that a problem with the hardware or else is there a way to get through it ??..
  2. Or is there any other way to use the AwesomeNaiveRenderer other than by passing the native window to the omx codec ??

Any help will be appreciated......

来源:https://stackoverflow.com/questions/24950470/android-dequeuing-native-buffer-returns-error-from-omxcodec-dequeued-unrecogni

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!