diff options
| author | Christopher Lais <chris+android@zenthought.org> | 2011-01-08 19:15:34 -0600 |
|---|---|---|
| committer | Christopher Lais <chris+android@zenthought.org> | 2011-01-08 19:54:20 -0600 |
| commit | 359ed3a8256b2cb4e3088a305e5df8ab312eb363 (patch) | |
| tree | d1eafef1288af14219502e6ca39ffb2287566a65 | |
| parent | 59ebd1c89d6b5fc35a6da1184bbd81b389fe9c5c (diff) | |
| download | android_hardware_qcom_media-359ed3a8256b2cb4e3088a305e5df8ab312eb363.tar.gz android_hardware_qcom_media-359ed3a8256b2cb4e3088a305e5df8ab312eb363.tar.bz2 android_hardware_qcom_media-359ed3a8256b2cb4e3088a305e5df8ab312eb363.zip | |
mm-video: vidc: vdec: free output buffer pmem when all buffers are free
Seems to hang on to them too long otherwise.
Change-Id: I43fc678bb68784e509de74031092d3fd1bd0354f
| -rw-r--r-- | mm-video/vidc/vdec/src/omx_vdec.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm-video/vidc/vdec/src/omx_vdec.cpp b/mm-video/vidc/vdec/src/omx_vdec.cpp index 5a5f1f2f..8bbed33c 100644 --- a/mm-video/vidc/vdec/src/omx_vdec.cpp +++ b/mm-video/vidc/vdec/src/omx_vdec.cpp @@ -4273,6 +4273,7 @@ OMX_ERRORTYPE omx_vdec::free_buffer(OMX_IN OMX_HANDLETYPE hComp, if (release_output_done()) { DEBUG_PRINT_HIGH("\n ALL output buffers are freed/released"); + m_heap_ptr.clear(); output_use_buffer = false; if (m_out_mem_ptr) { |
