forked from tTh/FloatImg
debug code added
This commit is contained in:
parent
c30e073abd
commit
a27a165404
|
@ -157,7 +157,7 @@ return retval;
|
|||
* processor.
|
||||
*/
|
||||
|
||||
#define DEBUG_THIS_CRAP 0
|
||||
#define DEBUG_THIS_CRAP 100
|
||||
|
||||
int crapulator(FloatImg *image, int idFx, float fval)
|
||||
{
|
||||
|
@ -298,6 +298,8 @@ switch (idFx) {
|
|||
case CR_message:
|
||||
fprintf(stderr, "### msg from pid %d, fval=%f ###\n",
|
||||
getpid(), fval);
|
||||
/* here, we can display stats ! */
|
||||
fimg_describe(image, "in crapulator");
|
||||
retval = 0;
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue