Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge "exynos4: Part of Netflix fix" into cm-10.1
  • Loading branch information
Daniel Hillenbrand authored and Gerrit Code Review committed Jan 4, 2013
2 parents d54fa82 + ab11255 commit 8143dbc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion media/libstagefright/ACodec.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 8143dbc

Please sign in to comment.