mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
add bravia workaround to skip using setOutputSurface in MediaCodec
This commit is contained in:
parent
4ac8680b94
commit
2c8c14d647
1 changed files with 2 additions and 1 deletions
|
|
@ -1075,7 +1075,8 @@ public class MediaCodecVideoRenderer extends MediaCodecRenderer {
|
||||||
// https://github.com/google/ExoPlayer/issues/3355.
|
// https://github.com/google/ExoPlayer/issues/3355.
|
||||||
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) && "OMX.MTK.VIDEO.DECODER.AVC".equals(name));
|
|| (("tcl_eu".equals(Util.DEVICE) || Util.MODEL.startsWith("BRAVIA"))
|
||||||
|
&& "OMX.MTK.VIDEO.DECODER.AVC".equals(name));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue