summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2013-07-24 16:35:12 -0700
committerAndy McFadden <fadden@android.com>2013-07-24 16:35:12 -0700
commit92cb8f928dc9e237c356c942d10b5c0c1e04b2ae (patch)
treeba4a7d8a923742ef46f9d053ef8342233c68355e
parentde7c96afc382ac73108116d3431342633fa4e489 (diff)
downloadframeworks_av-92cb8f928dc9e237c356c942d10b5c0c1e04b2ae.zip
frameworks_av-92cb8f928dc9e237c356c942d10b5c0c1e04b2ae.tar.gz
frameworks_av-92cb8f928dc9e237c356c942d10b5c0c1e04b2ae.tar.bz2
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
-rw-r--r--media/libstagefright/omx/OMXNodeInstance.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/media/libstagefright/omx/OMXNodeInstance.cpp b/media/libstagefright/omx/OMXNodeInstance.cpp
index 61a866f..525e18d 100644
--- a/media/libstagefright/omx/OMXNodeInstance.cpp
+++ b/media/libstagefright/omx/OMXNodeInstance.cpp
@@ -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;
}