Skip to content

Commit

Permalink
Add Y611 to setOutputSurfaceWorkaround
Browse files Browse the repository at this point in the history
Issue: #3724

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=185548632
  • Loading branch information
ojw28 committed Feb 20, 2018
1 parent d469398 commit 99e5a3c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,9 @@
* Fix handling of ad tags where ad groups are out of order
([#3716](https://github.com/google/ExoPlayer/issues/3716)).
* `EventLogger` moved from the demo app into the core library.
* Fix ANR issue on Huawei P8 Lite
([#3724](https://github.com/google/ExoPlayer/issues/3724)).
* Fix ANR issue on the Huawei P8 Lite, Huawei Y6II and Moto C+
([#3724](https://github.com/google/ExoPlayer/issues/3724),
[#3835](https://github.com/google/ExoPlayer/issues/3835)).
* Fix potential NPE when removing media sources from a
DynamicConcatenatingMediaSource
([#3796](https://github.com/google/ExoPlayer/issues/3796)).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1094,7 +1094,8 @@ private static boolean codecNeedsSetOutputSurfaceWorkaround(String name) {
|| "BRAVIA_ATV2".equals(Util.DEVICE)
|| "panell_s".equals(Util.DEVICE))
&& "OMX.MTK.VIDEO.DECODER.AVC".equals(name))
|| ("OMX.k3.video.decoder.avc".equals(name) && "ALE-L21".equals(Util.MODEL));
|| (("ALE-L21".equals(Util.MODEL) || "CAM-L21".equals(Util.MODEL))
&& "OMX.k3.video.decoder.avc".equals(name));
}

/**
Expand Down

0 comments on commit 99e5a3c

Please sign in to comment.