On Jul 5, 5:23 am, Ji <jiten.g...@gmail.com> wrote: > Hi > > I have an app that switches from Android Honeycomb home screen to > mp4 Video (H264 format) The loop plays fine but in the logs I see this > message."OMX_GetExtensionIndex failed" After few hours of successful > loop playing, I see the video activity crashes and is force removed > by android due to Surface crash with message. Both Messages are > mentioned below. Are they related? More information on below type of > message would be appreciated. > > ERROR MESSAGE while Playing Video: > > 07-04 13:24:26.140: DEBUG/MediaPlayerDemo(23497): surfaceCreated > called > 07-04 13:24:26.140: VERBOSE/MediaPlayerDemo(23497): startVideoPlayback > 07-04 13:24:26.170: INFO/OMXCodec(12341): [OMX.Nvidia.h264.decode] AVC > profile = 66 (Baseline), level = 32 > 07-04 13:24:26.170: INFO/OMXCodec(12341): [OMX.Nvidia.h264.decode] > allocating 10 buffers of size 1566720 on input port > 07-04 13:24:26.170: ERROR/OMXNodeInstance(12341): > OMX_GetExtensionIndex failed > 07-04 13:24:26.170: WARN/OMXCodec(12341): querying usage flags from > OMX IL component failed: -2147483648 > 07-04 13:24:26.170: INFO/OMXCodec(12341): [OMX.Nvidia.h264.decode] > allocating 10 buffers from a native window of size 1382400 on output > port > 07-04 13:24:26.290: INFO/nvos_linux_stub(12341): stub_helper: alloc > carveout_iram > 07-04 13:24:26.330: INFO/nvos_linux_stub(12341): > NvMMVideoDecoderH264SetAttribute@795: info=2147483647 DeintType = > 2147483647, DeintRate = 2 > 07-04 13:24:26.330: DEBUG/MediaPlayerDemo(23497): surfaceChanged > called > > ERROR MESSAGE AFTER FEW HOURS > > 07-04 08:44:34.010: ERROR/Surface(3166): Surface (identity=9226) > requestBuffer(0, 0, 0, 4, 00000200) returned a buffer with a null > handle > 07-04 08:44:34.010: ERROR/Surface(3166): getBufferLocked(0, 0, 0, 4, > 00000200) failed (Out of memory) > > Thanks, > Jiten
Sounds like a memory leak to me -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en