diff options
author | Wonsik Kim <wonsik@google.com> | 2017-03-30 01:20:10 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-03-30 01:20:10 +0000 |
commit | fc9f5689b892105bf984871945ea34647366f944 (patch) | |
tree | e873b77b2cc34995bdf1959350863d07094f3fd7 | |
parent | 05452c92ab732c66a0a17f519b6128cdeb3c8045 (diff) | |
parent | b2ceb6a5660e529d0f2866acb097e66510e94666 (diff) | |
download | wrs_omxil_core-fc9f5689b892105bf984871945ea34647366f944.tar.gz |
SetWorkingRole return OMX_ErrorUnsupportedSetting on failure am: 3b09ea8de3
am: b2ceb6a566
Change-Id: I6fafd6fe33ce6f44499121334b9f45fb1a065230
-rwxr-xr-x | base/src/componentbase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/src/componentbase.cpp b/base/src/componentbase.cpp index 47d9cb0..f7ff029 100755 --- a/base/src/componentbase.cpp +++ b/base/src/componentbase.cpp @@ -1779,7 +1779,7 @@ OMX_ERRORTYPE ComponentBase::SetWorkingRole(const OMX_STRING role) } LOGE("%s: cannot find %s role\n", GetName(), role); - return OMX_ErrorBadParameter; + return OMX_ErrorUnsupportedSetting; } /* apply a working role for a component having multiple roles */ |