From ab11255629afb4c80ad31b23668c1a091243ee6a Mon Sep 17 00:00:00 2001 From: Andrew Dodd Date: Thu, 3 Jan 2013 23:16:44 -0500 Subject: exynos4: Part of Netflix fix codeworkx pulled the Samsung colorformat patch from Insignal's exynos-jb branch, which is an invalid source for exynos4 patches. It was checking for an OMX codec name that didn't exist. This still doesn't stop Netflix JPlayer failing in 10.1, but does fix Netflix failing if you disable JPlayer by convincing it that it's on an older Android version. Change-Id: Ia55878dc08f81e2900307558e35c4e0c5b9cac2f --- media/libstagefright/ACodec.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/media/libstagefright/ACodec.cpp b/media/libstagefright/ACodec.cpp index 37b2271..20bdc32 100644 --- a/media/libstagefright/ACodec.cpp +++ b/media/libstagefright/ACodec.cpp @@ -673,7 +673,8 @@ status_t ACodec::allocateOutputBuffersFromNativeWindow() { void ACodec::setNativeWindowColorFormat(OMX_COLOR_FORMATTYPE &eNativeColorFormat) { // In case of Samsung decoders, we set proper native color format for the Native Window - if (!strcasecmp(mComponentName.c_str(), "OMX.Exynos.AVC.Decoder")) { + if (!strcasecmp(mComponentName.c_str(), "OMX.SEC.AVC.Decoder") + || !strcasecmp(mComponentName.c_str(), "OMX.SEC.FP.AVC.Decoder")) { switch (eNativeColorFormat) { case OMX_COLOR_FormatYUV420SemiPlanar: eNativeColorFormat = (OMX_COLOR_FORMATTYPE)HAL_PIXEL_FORMAT_YCbCr_420_SP; -- cgit v1.1