mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 22:37:50 +00:00
Bug 820661 - Implement support for libstagefright video decoding on HTC EVO Design Gingerbread Android phone - r=cpeterson
--HG-- extra : rebase_source : 366ebc9e9a3867edab439069094f21b8c8204174
This commit is contained in:
parent
57335b0ed0
commit
0d0d698c0e
@ -175,6 +175,12 @@ static const char* GetOmxLibraryName()
|
||||
// layout to those on 2.3.5 and below.
|
||||
return "lib/libomxplugingb.so";
|
||||
}
|
||||
else if (version == 10 && release_version >= NS_LITERAL_STRING("2.3.4") &&
|
||||
device.Find("HTC") == 0) {
|
||||
// HTC devices running Gingerbread 2.3.4+ (HTC Desire HD, HTC Evo Design, etc) seem to
|
||||
// use a newer version of Gingerbread libstagefright than other 2.3.4 devices.
|
||||
return "lib/libomxplugingb.so";
|
||||
}
|
||||
else if (version == 9 || (version == 10 && release_version <= NS_LITERAL_STRING("2.3.5"))) {
|
||||
// Gingerbread versions from 2.3.5 and below have a different DataSource
|
||||
// than 2.3.6 and above.
|
||||
|
Loading…
x
Reference in New Issue
Block a user