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#10756
PiperOrigin-RevId: 489236336
  • Loading branch information
tonihei authored and microkatz committed Nov 21, 2022
1 parent d4c9199 commit cbcdbfe
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2431,7 +2431,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 cbcdbfe

Please sign in to comment.