]> git.sesse.net Git - vlc/commit
mediacodec: Check for exceptions after MediaCodec.start()
authorMartin Storsjö <martin@martin.st>
Sun, 14 Oct 2012 21:46:57 +0000 (00:46 +0300)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 14 Oct 2012 22:43:23 +0000 (00:43 +0200)
commit726284744819a9665b2c7f87fe9a33cfc00a2f8b
tree2cfb55343684321b0f84089db5134b66d92f8388
parent34b0ec9a540d974de8e54db85802636372260ea5
mediacodec: Check for exceptions after MediaCodec.start()

Also log a warning if MediaCodec.configure() threw an exception.

This fixes issues when playing back H264 over RTSP on devices
supporting MediaCodec - this makes it fall back cleanly to other
decoders. (The actual issue with playing back these streams is
not investigated yet.)

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