mirror of
https://github.com/samsonjs/media.git
synced 2026-03-27 09:45:47 +00:00
Don't use SEC VP8 decoder on Galaxy S3s.
The only Samsung devices with names starting "d2" that we're aware of are Galaxy S3 variants, and also one Samsung Galaxy Pocket Neo d2aio SAMSUNG-SGH-I747Z. This change speculatively includes that device too because its name is very similar to SAMSUNG-SGH-I747 which is known to be affected. Issue: #548
This commit is contained in:
parent
c4235d0e8d
commit
9b4e9723e5
1 changed files with 4 additions and 2 deletions
|
|
@ -209,8 +209,10 @@ public final class MediaCodecUtil {
|
|||
return false;
|
||||
}
|
||||
|
||||
// Work around an issue where the VP8 decoder on Samsung Galaxy S4 Mini does not render video.
|
||||
if (Util.SDK_INT <= 19 && Util.DEVICE != null && Util.DEVICE.startsWith("serrano")
|
||||
// Work around an issue where the VP8 decoder on Samsung Galaxy S3/S4 Mini does not render
|
||||
// video.
|
||||
if (Util.SDK_INT <= 19 && Util.DEVICE != null
|
||||
&& (Util.DEVICE.startsWith("d2") || Util.DEVICE.startsWith("serrano"))
|
||||
&& "samsung".equals(Util.MANUFACTURER) && name.equals("OMX.SEC.vp8.dec")) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue