mediacodec: fix crash when color-format is invalid
Fail if GetVlcChromaFormat return 0. (It'll throw a HardwareAccelerationError) Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> (cherry picked from commit 40aa75316d6f3edc457354ac26295e292a8b1f9f) Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Showing
Please register or sign in to comment