mediacodec: disambiguate error message (same as below)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
mediacodec: unlock the surface if configuring MediaCodec failed

Solve a bug where the display stays black when the dimension of the
video is not supported by MediaCodec (either too small or too large).

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
omxil: move code to parse profile and level of H264 format to omx_utils.h

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
mediacodec: disable HW acceleration for profiles Hi10P and higher

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>