mirror of
https://github.com/androidx/media.git
synced 2025-05-06 23:20:42 +08:00
OMX.broadcom.video_decoder.tunnel.secure needs EOS workaround
The passthrough codec does not propagate the EOS back to ExoPlayer. Issue: https://github.com/google/ExoPlayer/issues/7647 PiperOrigin-RevId: 323758941
This commit is contained in:
parent
c010d28b14
commit
8c8ffe601d
@ -11,6 +11,9 @@
|
||||
([#7592](https://github.com/google/ExoPlayer/issues/7592)).
|
||||
* FLV: Ignore SCRIPTDATA segments with invalid name types, rather than failing
|
||||
playback ([#7675](https://github.com/google/ExoPlayer/issues/7675)).
|
||||
* Workaround an issue on Broadcom based devices where playbacks would not
|
||||
transition to `STATE_ENDED` when using video tunneling mode
|
||||
([#7647](https://github.com/google/ExoPlayer/issues/7647)).
|
||||
* IMA extension: Upgrade to IMA SDK 3.19.4, bringing in a fix for setting the
|
||||
media load timeout
|
||||
([#7170](https://github.com/google/ExoPlayer/issues/7170)).
|
||||
|
@ -1937,6 +1937,9 @@ public abstract class MediaCodecRenderer extends BaseRenderer {
|
||||
String name = codecInfo.name;
|
||||
return (Util.SDK_INT <= 25 && "OMX.rk.video_decoder.avc".equals(name))
|
||||
|| (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)))
|
||||
|| ("Amazon".equals(Util.MANUFACTURER) && "AFTS".equals(Util.MODEL) && codecInfo.secure);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user