debug code added

This commit is contained in:
tth 2021-05-10 00:05:01 +02:00
parent c30e073abd
commit a27a165404
1 changed files with 3 additions and 1 deletions

View File

@ -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;