mirror of
https://github.com/androidx/media.git
synced 2025-05-05 06:30:24 +08:00
add issue link
This commit is contained in:
parent
2c8c14d647
commit
2c495502e0
@ -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"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user