summaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-05-03 15:24:17 +0200
committerDiego Biurrun <diego@biurrun.de>2016-05-04 18:40:50 +0200
commitdef03d14687b9d089950ba8e45083e666de4eb68 (patch)
treecee5a72e94820793d12d62d6b7bb6927ff71b675 /libavfilter
parent41ed7ab45fc693f7d7fc35664c0233f4c32d69bb (diff)
downloadffmpeg-streaming-def03d14687b9d089950ba8e45083e666de4eb68.zip
ffmpeg-streaming-def03d14687b9d089950ba8e45083e666de4eb68.tar.gz
vf_frei0r: Drop overly verbose and broken debug output
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_frei0r.c48
1 files changed, 0 insertions, 48 deletions
diff --git a/libavfilter/vf_frei0r.c b/libavfilter/vf_frei0r.c
index 04f74bc..f41fbcb 100644
--- a/libavfilter/vf_frei0r.c
+++ b/libavfilter/vf_frei0r.c
@@ -156,54 +156,6 @@ static int set_params(AVFilterContext *ctx, const char *params)
if (ret < 0)
return ret;
}
-
- av_log(ctx, AV_LOG_VERBOSE,
- "idx:%d name:'%s' type:%s explanation:'%s' ",
- i, info.name,
- info.type == F0R_PARAM_BOOL ? "bool" :
- info.type == F0R_PARAM_DOUBLE ? "double" :
- info.type == F0R_PARAM_COLOR ? "color" :
- info.type == F0R_PARAM_POSITION ? "position" :
- info.type == F0R_PARAM_STRING ? "string" : "unknown",
- info.explanation);
-
-#ifdef DEBUG
- av_log(ctx, AV_LOG_DEBUG, "value:");
- switch (info.type) {
- void *v;
- double d;
- char s[128];
- f0r_param_color_t col;
- f0r_param_position_t pos;
-
- case F0R_PARAM_BOOL:
- v = &d;
- s->get_param_value(s->instance, v, i);
- av_log(ctx, AV_LOG_DEBUG, "%s", d >= 0.5 && d <= 1.0 ? "y" : "n");
- break;
- case F0R_PARAM_DOUBLE:
- v = &d;
- s->get_param_value(s->instance, v, i);
- av_log(ctx, AV_LOG_DEBUG, "%f", d);
- break;
- case F0R_PARAM_COLOR:
- v = &col;
- s->get_param_value(s->instance, v, i);
- av_log(ctx, AV_LOG_DEBUG, "%f/%f/%f", col.r, col.g, col.b);
- break;
- case F0R_PARAM_POSITION:
- v = &pos;
- s->get_param_value(s->instance, v, i);
- av_log(ctx, AV_LOG_DEBUG, "%f/%f", pos.x, pos.y);
- break;
- default: /* F0R_PARAM_STRING */
- v = s;
- s->get_param_value(s->instance, v, i);
- av_log(ctx, AV_LOG_DEBUG, "'%s'", s);
- break;
- }
-#endif
- av_log(ctx, AV_LOG_VERBOSE, ".\n");
}
return 0;
OpenPOWER on IntegriCloud