]> git.sesse.net Git - vlc/commit
mediacodec: handle MediaCodec exceptions while decoding
authorFelix Abecassis <felix.abecassis@gmail.com>
Tue, 18 Feb 2014 18:27:18 +0000 (19:27 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 18 Feb 2014 19:10:38 +0000 (20:10 +0100)
commit75cc1f0e68e3e55737c46df22df80d772ceae754
tree27958106f099806c50529d6260d655a67a65a94b
parent6eeac3302cb72b6093701c1a442a0b3895f91196
mediacodec: handle MediaCodec exceptions while decoding

If an exception is thrown when using the MediaCodec API, the decoder
module enters an error state and will not attempt to queue/dequeue
buffers anymore. The error state is notified to the Java using the JNI
function jni_EventHardwareAccelerationError().

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