update bravia workaround more precisely

This commit is contained in:
yqritc 2017-11-09 10:56:47 +09:00 committed by Oliver Woodman
parent 2c495502e0
commit a573099f93

View File

@ -1076,7 +1076,8 @@ public class MediaCodecVideoRenderer extends MediaCodecRenderer {
// https://github.com/google/ExoPlayer/issues/3439.
return (("deb".equals(Util.DEVICE) || "flo".equals(Util.DEVICE))
&& "OMX.qcom.video.decoder.avc".equals(name))
|| (("tcl_eu".equals(Util.DEVICE) || Util.MODEL.startsWith("BRAVIA"))
|| (("tcl_eu".equals(Util.DEVICE) || "SVP-DTV15".equals(Util.DEVICE)
|| "BRAVIA_ATV2".equals(Util.DEVICE))
&& "OMX.MTK.VIDEO.DECODER.AVC".equals(name));
}