mediacodec: check exception after queueInputBuffer