]> git.sesse.net Git - vlc/commit
mediacodec: fix deprecated calls if API >= 21
authorThomas Guillem <thomas@gllm.fr>
Wed, 17 Dec 2014 09:29:09 +0000 (10:29 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 17 Dec 2014 14:00:43 +0000 (15:00 +0100)
commitb4f82863112de7e0344bba09d3204813da6cc18c
treed131aae79fa4e7b9397f6d953bf45b4a6b3c43e1
parent095cb6bba1dda367e558da90fd143426f8b7ff44
mediacodec: fix deprecated calls if API >= 21

Use getInputBuffer and getOutputBuffer instead of getInputBuffers and
getOutputBuffers.

see http://developer.android.com/reference/android/media/MediaCodec.html

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/codec/omxil/android_mediacodec.c