aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbase/src/componentbase.cpp2
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 */