Commit 157f5ff8 by olly Committed by Oliver Woodman

Workaround for issue #1443

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=120334164
parent 8f2e56d5
......@@ -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));
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment