add issue link

This commit is contained in:
yqritc 2017-11-08 13:41:04 +09:00 committed by Oliver Woodman
parent 2c8c14d647
commit 2c495502e0

View File

@ -1071,8 +1071,9 @@ public class MediaCodecVideoRenderer extends MediaCodecRenderer {
* If true is returned then we fall back to releasing and re-instantiating the codec instead. * If true is returned then we fall back to releasing and re-instantiating the codec instead.
*/ */
private static boolean codecNeedsSetOutputSurfaceWorkaround(String name) { private static boolean codecNeedsSetOutputSurfaceWorkaround(String name) {
// Work around https://github.com/google/ExoPlayer/issues/3236 and // Work around https://github.com/google/ExoPlayer/issues/3236,
// https://github.com/google/ExoPlayer/issues/3355. // https://github.com/google/ExoPlayer/issues/3355 and
// https://github.com/google/ExoPlayer/issues/3439.
return (("deb".equals(Util.DEVICE) || "flo".equals(Util.DEVICE)) return (("deb".equals(Util.DEVICE) || "flo".equals(Util.DEVICE))
&& "OMX.qcom.video.decoder.avc".equals(name)) && "OMX.qcom.video.decoder.avc".equals(name))
|| (("tcl_eu".equals(Util.DEVICE) || Util.MODEL.startsWith("BRAVIA")) || (("tcl_eu".equals(Util.DEVICE) || Util.MODEL.startsWith("BRAVIA"))