From 87b6ca87e40a3c8c7a3fbd0c4bd0bdf15a079f1c Mon Sep 17 00:00:00 2001 From: Kevin Rocard Date: Thu, 17 Dec 2020 09:16:53 +0100 Subject: [PATCH] Enable setOutputSurface workaround for Xiaomi Mi Box S As reported by https://github.com/google/ExoPlayer/issues/8329. --- .../google/android/exoplayer2/video/MediaCodecVideoRenderer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/library/core/src/main/java/com/google/android/exoplayer2/video/MediaCodecVideoRenderer.java b/library/core/src/main/java/com/google/android/exoplayer2/video/MediaCodecVideoRenderer.java index 0f6ea28ed97..b6ee48e8f5d 100644 --- a/library/core/src/main/java/com/google/android/exoplayer2/video/MediaCodecVideoRenderer.java +++ b/library/core/src/main/java/com/google/android/exoplayer2/video/MediaCodecVideoRenderer.java @@ -1587,6 +1587,7 @@ private static boolean evaluateDeviceNeedsSetOutputSurfaceWorkaround() { case "dangalFHD": case "magnolia": case "machuca": + case "MIBOX4": return true; default: break; // Do nothing.