问题
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.
- Is that a problem with the hardware or else is there a way to get through it ??..
- 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