Skip to content

Commit

Permalink
Add additional codecs to the eosPropagationWorkaround list.
Browse files Browse the repository at this point in the history
Issue: google/ExoPlayer#10756
PiperOrigin-RevId: 489236336
  • Loading branch information
tonihei authored and microkatz committed Nov 22, 2022
1 parent cba65c8 commit d1b470e
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2433,7 +2433,11 @@ private static boolean codecNeedsEosPropagationWorkaround(MediaCodecInfo codecIn
|| (Util.SDK_INT <= 17 && "OMX.allwinner.video.decoder.avc".equals(name))
|| (Util.SDK_INT <= 29
&& ("OMX.broadcom.video_decoder.tunnel".equals(name)
|| "OMX.broadcom.video_decoder.tunnel.secure".equals(name)))
|| "OMX.broadcom.video_decoder.tunnel.secure".equals(name)
|| "OMX.bcm.vdec.avc.tunnel".equals(name)
|| "OMX.bcm.vdec.avc.tunnel.secure".equals(name)
|| "OMX.bcm.vdec.hevc.tunnel".equals(name)
|| "OMX.bcm.vdec.hevc.tunnel.secure".equals(name)))
|| ("Amazon".equals(Util.MANUFACTURER) && "AFTS".equals(Util.MODEL) && codecInfo.secure);
}

Expand Down

0 comments on commit d1b470e

Please sign in to comment.