]> git.sesse.net Git - vlc/commit
mediacodec: avoid IllegalStateException on some weird devices
authorEdward Wang <edward.c.wang@compdigitec.com>
Thu, 17 Jan 2013 23:43:05 +0000 (18:43 -0500)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 23 Jan 2013 19:06:11 +0000 (20:06 +0100)
commit514843b280d0fec6a5bebb6c3476bf415866adf4
treea0c4cd3c0e468b56af0051bc30746d47a081ff53
parent8837684fd067987fcf823643c100be05040aa48c
mediacodec: avoid IllegalStateException on some weird devices

01-17 18:53:34.959 E/VLC/VlcCrashHandler(16725): java.lang.IllegalStateException
01-17 18:53:34.959 E/VLC/VlcCrashHandler(16725):  at android.media.MediaCodec.releaseOutputBuffer(Native Method)
01-17 18:53:34.959 E/VLC/VlcCrashHandler(16725):  at dalvik.system.NativeStart.run(Native Method)

Personally I don't notice any performance regression.

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