Commit 3b29eeae by Oliver Woodman

Merge branch 'joomcode-dev-v2' into dev-v2

parents 0ed8e86b db882226
...@@ -1188,9 +1188,12 @@ public class MediaCodecVideoRenderer extends MediaCodecRenderer { ...@@ -1188,9 +1188,12 @@ public class MediaCodecVideoRenderer extends MediaCodecRenderer {
* @return True if the device is known to handle {@link DummySurface} incorrectly. * @return True if the device is known to handle {@link DummySurface} incorrectly.
*/ */
protected boolean codecNeedsDummySurfaceWorkaround(String name) { protected boolean codecNeedsDummySurfaceWorkaround(String name) {
// Work around https://github.com/google/ExoPlayer/issues/4419. // Work around https://github.com/google/ExoPlayer/issues/4419,
return ("Amazon".equals(Util.MANUFACTURER) && "AFTN".equals(Util.MODEL)) // FireTV 4K // https://github.com/google/ExoPlayer/issues/4460.
&& "OMX.amlogic.avc.decoder.awesome".equals(name); return (("Amazon".equals(Util.MANUFACTURER) && "AFTN".equals(Util.MODEL)) // FireTV 4K
&& "OMX.amlogic.avc.decoder.awesome".equals(name))
|| (("asus".equals(Util.MANUFACTURER) && "ZB500KL".equals(Util.MODEL)) // Asus Zenfone Go
&& "OMX.qcom.video.decoder.avc".equals(name));
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment