mirror of
https://github.com/samsonjs/media.git
synced 2026-04-17 13:15:47 +00:00
Workaround for issue #1443
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=120334164
This commit is contained in:
parent
8f2e56d59b
commit
157f5ff886
1 changed files with 2 additions and 1 deletions
|
|
@ -964,7 +964,8 @@ public abstract class MediaCodecTrackRenderer extends TrackRenderer {
|
|||
* propagation incorrectly on the host device. False otherwise.
|
||||
*/
|
||||
private static boolean codecNeedsEosPropagationWorkaround(String name) {
|
||||
return Util.SDK_INT <= 17 && "OMX.rk.video_decoder.avc".equals(name);
|
||||
return Util.SDK_INT <= 17 && ("OMX.rk.video_decoder.avc".equals(name)
|
||||
|| "OMX.allwinner.video.decoder.avc".equals(name));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue