[vlc-commits] mediacodec: initialize jni fields during first open

Thomas Guillem git at videolan.org
Fri Apr 3 12:46:49 CEST 2015


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Apr  3 12:43:42 2015 +0200| [1048c3a1ea5d54847f9d7b1d1d400f69ab56507c] | committer: Jean-Baptiste Kempf

mediacodec: initialize jni fields during first open

No need to re-init all jni fields each time we open MediaCodec decoder.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/codec/omxil/android_mediacodec.c |  261 +++++++++++++++++-------------
 1 file changed, 147 insertions(+), 114 deletions(-)

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


More information about the vlc-commits mailing list