Update 49 FPS hack for MTK devices running Oreo which remains broken

This commit is contained in:
Cameron Gutman 2018-12-05 20:43:44 -08:00
parent 80070bbdbe
commit 773976b265

View File

@ -160,8 +160,8 @@ public class MediaCodecHelper {
// We see a bunch of crashes on MediaTek Android TVs running // We see a bunch of crashes on MediaTek Android TVs running
// at 49 FPS (PAL 50 Hz - 1). Blacklist this frame rate for // at 49 FPS (PAL 50 Hz - 1). Blacklist this frame rate for
// these devices and hope they fix it in Oreo. // these devices and hope they fix it in Pie.
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O) { if (Build.VERSION.SDK_INT < Build.VERSION_CODES.P) {
blacklisted49FpsDecoderPrefixes.add("omx.mtk"); blacklisted49FpsDecoderPrefixes.add("omx.mtk");
} }
} }