mirror of
https://github.com/androidx/media.git
synced 2025-05-15 11:39:56 +08:00
Expand Samsung/1+ workaround to API 31 + 32
The issue with decoding getting stuck is still reproducible on `samsung/beyond1lteeea/beyond1:12/SP1A.210812.016/G973FXXUEGULB:user/release-keys`. PiperOrigin-RevId: 443368546
This commit is contained in:
parent
8c07f1e1a0
commit
3867f8e005
@ -271,7 +271,7 @@ import org.checkerframework.dataflow.qual.Pure;
|
||||
// TODO(b/226330223): Investigate increasing this limit.
|
||||
return 1;
|
||||
}
|
||||
if (Util.SDK_INT < 31
|
||||
if (Util.SDK_INT < 33
|
||||
&& ("OnePlus".equals(Util.MANUFACTURER) || "samsung".equals(Util.MANUFACTURER))) {
|
||||
// Some OMX decoders don't correctly track their number of output buffers available, and get
|
||||
// stuck if too many frames are rendered without being processed, so we limit the number of
|
||||
|
Loading…
x
Reference in New Issue
Block a user