зеркало из https://github.com/mozilla/gecko-dev.git
Bug 970076 - Set preferred video colour format for OMX on Android 4.2 and 4.3 r=doublec
Android 4.2 introduced some relatively major changes in the way that Android negotiates its output colour format. This was fixed on 4.4 KitKat in bug 953394. This patch just lets Android versions 4.2 and 4.3 use the same fix.
This commit is contained in:
Родитель
1b60c67eea
Коммит
c0054ef440
|
@ -172,7 +172,7 @@ static const char* GetOmxLibraryName()
|
|||
return nullptr;
|
||||
|
||||
#if defined(ANDROID) && !defined(MOZ_WIDGET_GONK)
|
||||
if (version >= 19) {
|
||||
if (version >= 17) {
|
||||
return "libomxpluginkk.so";
|
||||
}
|
||||
else if (version == 13 || version == 12 || version == 11) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче