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
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;
}