mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 823253 - Part 3 - Whitelist Samsung Gingerbread devices for Stagefright decoding - r=bjacob
--HG-- extra : rebase_source : 2fcb3abcac2de4d03cb0c4ac8e98d3052dd5586f
This commit is contained in:
parent
43b16972b6
commit
87263482c3
@ -372,9 +372,11 @@ GfxInfo::GetFeatureStatusImpl(int32_t aFeature,
|
||||
CompareVersions(mOSVersion.get(), "2.4.0") < 0)
|
||||
{
|
||||
// Gingerbread HTC devices are whitelisted.
|
||||
// All other Gingerbread devices are blacklisted.
|
||||
// Gingerbread Samsung devices are whitelisted.
|
||||
// All other Gingerbread devices are blacklisted.
|
||||
bool isWhitelisted =
|
||||
cManufacturer.Equals("htc", nsCaseInsensitiveCStringComparator());
|
||||
cManufacturer.Equals("htc", nsCaseInsensitiveCStringComparator()) ||
|
||||
cManufacturer.Equals("samsung", nsCaseInsensitiveCStringComparator());
|
||||
|
||||
if (!isWhitelisted) {
|
||||
*aStatus = nsIGfxInfo::FEATURE_BLOCKED_DEVICE;
|
||||
|
Loading…
Reference in New Issue
Block a user