Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 92cb8f92 authored by Andy McFadden's avatar Andy McFadden
Browse files

Update error message

The color format used for surfaces has two different names.  The
one in the error message is the "native" name, which doesn't mean
anything to external developers.

Change-Id: Ic0561f4ad12970b0e0a60bd17b4e3997af1a9f0e
parent de7c96af
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -596,7 +596,8 @@ status_t OMXNodeInstance::createInputSurface(
    CHECK(oerr == OMX_ErrorNone);

    if (def.format.video.eColorFormat != OMX_COLOR_FormatAndroidOpaque) {
        ALOGE("createInputSurface requires AndroidOpaque color format");
        ALOGE("createInputSurface requires COLOR_FormatSurface "
              "(AndroidOpaque) color format");
        return INVALID_OPERATION;
    }