[vlc-commits] mediacodec: fix LocalRef leaks

Thomas Guillem git at videolan.org
Tue Apr 28 17:49:37 CEST 2015


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Apr 27 11:45:46 2015 +0200| [d5248dbb0c3f38f56099c18ca065b16c0650efb9] | committer: Thomas Guillem

mediacodec: fix LocalRef leaks

Now that we can open and close MediaCodec from the same thread, we can reach
quickly the limit of 512 LocalRefs.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d5248dbb0c3f38f56099c18ca065b16c0650efb9
---

 modules/codec/omxil/android_mediacodec.c |  150 +++++++++++++++++++++---------
 1 file changed, 106 insertions(+), 44 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=d5248dbb0c3f38f56099c18ca065b16c0650efb9


More information about the vlc-commits mailing list