mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Transformer: Work around Samsung/OnePlus decoder dequeueBuffer failed.
#mse-bug-week PiperOrigin-RevId: 430028245
This commit is contained in:
parent
a196b5ec43
commit
3e9d45f0ea
1 changed files with 4 additions and 1 deletions
|
|
@ -197,7 +197,10 @@ import org.checkerframework.dataflow.qual.Pure;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (SDK_INT >= 29) {
|
if (SDK_INT >= 29
|
||||||
|
&& !(("samsung".equals(Util.MANUFACTURER) || "OnePlus".equals(Util.MANUFACTURER))
|
||||||
|
&& SDK_INT < 31)) {
|
||||||
|
// TODO(b/213455700): Fix Samsung and OnePlus devices filling the decoder in processDataV29().
|
||||||
return processDataV29();
|
return processDataV29();
|
||||||
} else {
|
} else {
|
||||||
return processDataDefault();
|
return processDataDefault();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue