diff options
author | Andreas Huber <andih@google.com> | 2011-04-26 16:08:34 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2011-04-26 16:08:34 -0700 |
commit | 71b5494d6f74f887ede72673b1d3970f50a17ebf (patch) | |
tree | feb63f8abb87e7605d957ff35d145cb660661b3d /sec_mm/sec_omx | |
parent | 2e5d6d35e77b612e6280cd5e8740056ddf632f2b (diff) | |
download | device_samsung_crespo-71b5494d6f74f887ede72673b1d3970f50a17ebf.zip device_samsung_crespo-71b5494d6f74f887ede72673b1d3970f50a17ebf.tar.gz device_samsung_crespo-71b5494d6f74f887ede72673b1d3970f50a17ebf.tar.bz2 |
The implementation of OMX_Get/SetConfig must not return OMX_ErrorNone
if it doesn't actually implement the functionality.
Change-Id: I7e46c25c4634e1fd0f65ebf38c4d32446ba2d341
related-to-bug: 4320322
Diffstat (limited to 'sec_mm/sec_omx')
-rw-r--r-- | sec_mm/sec_omx/sec_omx_component/common/SEC_OMX_Basecomponent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sec_mm/sec_omx/sec_omx_component/common/SEC_OMX_Basecomponent.c b/sec_mm/sec_omx/sec_omx_component/common/SEC_OMX_Basecomponent.c index d1b224f..5c96002 100644 --- a/sec_mm/sec_omx/sec_omx_component/common/SEC_OMX_Basecomponent.c +++ b/sec_mm/sec_omx/sec_omx_component/common/SEC_OMX_Basecomponent.c @@ -1215,7 +1215,7 @@ OMX_ERRORTYPE SEC_OMX_GetConfig( ret = OMX_ErrorInvalidState; goto EXIT; } - ret = OMX_ErrorNone; + ret = OMX_ErrorUnsupportedIndex; EXIT: FunctionOut(); @@ -1258,7 +1258,7 @@ OMX_ERRORTYPE SEC_OMX_SetConfig( ret = OMX_ErrorInvalidState; goto EXIT; } - ret = OMX_ErrorNone; + ret = OMX_ErrorUnsupportedIndex; EXIT: FunctionOut(); |