I'm having an error when I call OMX_UseBuffer to link capture output buffers to encoder input buffers. Since it fails with OMX_ErrorUndefined, I thought I could activate system logging to find out where the error is generated. I tried to follow this documents :
http://processors.wiki.ti.com/index.php/Using_slog_in_EZSDK
When trying to set "USE_SLOG_PRINT=1" I found the folowing comment in domx makefile:
#Note: USE_SLOG_PRINT=0 is forced. No other value should be used.
ifeq ($(CORE),a8host)
CFLAGS_LOCAL_a8host += -D_LOCAL_CORE_a8host_ -DUSE_SLOG_PRINT=0 -DSLOG_DOMX_Module__MID=0x8001
CFLAGS_LOCAL_a8host += -DSLOG_DOMXDH_Module__MID=0x8002 -DSLOG_DOMXRPC_Module__MID=0x8003
CFLAGS_LOCAL_a8host += -DSLOG_DOMXIPC_Module__MID=0x8004
endif
I'm I on the right path ? How would you diagnose this kind of error ?
P-O