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:
Edwin Flores 2014-02-19 17:11:42 +13:00
Родитель 1b60c67eea
Коммит c0054ef440
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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) {