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>
Showing
Please register or sign in to comment