diff options
author | James Dong <jdong@google.com> | 2009-11-06 16:05:38 -0800 |
---|---|---|
committer | James Dong <jdong@google.com> | 2009-11-06 16:08:32 -0800 |
commit | 9816ec5242955fdf9226ff18f2e890df29a407e5 (patch) | |
tree | 96b4fb40b38630c5c110de3166777b00dfbe4b29 | |
parent | 537674d2aa65d5cf49740c16e894ce268f9121b9 (diff) | |
download | opencore-9816ec5242955fdf9226ff18f2e890df29a407e5.tar.gz |
Log specific OMX_EventError events reported from OMX components
-rw-r--r-- | nodes/pvomxaudiodecnode/src/pvmf_omx_audiodec_node.cpp | 5 | ||||
-rw-r--r-- | nodes/pvomxvideodecnode/src/pvmf_omx_videodec_node.cpp | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/nodes/pvomxaudiodecnode/src/pvmf_omx_audiodec_node.cpp b/nodes/pvomxaudiodecnode/src/pvmf_omx_audiodec_node.cpp index b1159f7a1..f38e8e906 100644 --- a/nodes/pvomxaudiodecnode/src/pvmf_omx_audiodec_node.cpp +++ b/nodes/pvomxaudiodecnode/src/pvmf_omx_audiodec_node.cpp @@ -34,6 +34,9 @@ // needed for capability and config #include "pv_omx_config_parser.h" +#include "utils/Log.h" +#undef LOG_TAG +#define LOG_TAG "PVOMXAudDecNode" #define CONFIG_SIZE_AND_VERSION(param) \ param.nSize=sizeof(param); \ @@ -1947,7 +1950,7 @@ OMX_ERRORTYPE PVMFOMXAudioDecNode::EventHandlerProcessing(OMX_OUT OMX_HANDLETYPE case OMX_EventError: { - + LOGE("Ln %d OMX_EventError nData1 %d nData2 %d", __LINE__, aData1, aData2); if (aData1 == (OMX_U32) OMX_ErrorStreamCorrupt) { PVLOGGER_LOGMSG(PVLOGMSG_INST_LLDBG, iLogger, PVLOGMSG_ERR, diff --git a/nodes/pvomxvideodecnode/src/pvmf_omx_videodec_node.cpp b/nodes/pvomxvideodecnode/src/pvmf_omx_videodec_node.cpp index 70f9ddf6b..0193cf5e6 100644 --- a/nodes/pvomxvideodecnode/src/pvmf_omx_videodec_node.cpp +++ b/nodes/pvomxvideodecnode/src/pvmf_omx_videodec_node.cpp @@ -33,6 +33,10 @@ #include "pv_omxcore.h" #include "OMX_Video.h" +#include "utils/Log.h" +#undef LOG_TAG +#define LOG_TAG "PVOMXVidDecNode" + #define CONFIG_SIZE_AND_VERSION(param) \ param.nSize=sizeof(param); \ param.nVersion.s.nVersionMajor = SPECVERSIONMAJOR; \ @@ -1366,6 +1370,7 @@ OMX_ERRORTYPE PVMFOMXVideoDecNode::EventHandlerProcessing(OMX_OUT OMX_HANDLETYPE case OMX_EventError: { + LOGE("Ln %d OMX_EventError nData1 %d nData2 %d", __LINE__, aData1, aData2); if (aData1 == (OMX_U32) OMX_ErrorStreamCorrupt) { PVLOGGER_LOGMSG(PVLOGMSG_INST_LLDBG, iLogger, PVLOGMSG_ERR, |