mirror of
https://github.com/samsonjs/media.git
synced 2026-03-29 10:05:48 +00: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue