Workaround for issue #1443

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=120334164
This commit is contained in:
olly 2016-04-20 07:18:18 -07:00 committed by Oliver Woodman
parent 8f2e56d59b
commit 157f5ff886

View file

@ -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));
}
/**