mirror of
https://github.com/samsonjs/media.git
synced 2026-03-29 10:05:48 +00:00
Apply EOS flush workaround to stvm8 devices
Issue:#5203 PiperOrigin-RevId: 224726041
This commit is contained in:
parent
480bb50b54
commit
b23b86d137
1 changed files with 2 additions and 1 deletions
|
|
@ -1693,7 +1693,8 @@ public abstract class MediaCodecRenderer extends BaseRenderer {
|
|||
*/
|
||||
private static boolean codecNeedsEosFlushWorkaround(String name) {
|
||||
return (Util.SDK_INT <= 23 && "OMX.google.vorbis.decoder".equals(name))
|
||||
|| (Util.SDK_INT <= 19 && "hb2000".equals(Util.DEVICE)
|
||||
|| (Util.SDK_INT <= 19
|
||||
&& ("hb2000".equals(Util.DEVICE) || "stvm8".equals(Util.DEVICE))
|
||||
&& ("OMX.amlogic.avc.decoder.awesome".equals(name)
|
||||
|| "OMX.amlogic.avc.decoder.awesome.secure".equals(name)));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue