aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_frei0r.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2016-06-21 21:59:21 +0200
committerClément Bœsch <u@pkh.me>2016-06-21 22:00:12 +0200
commitd0d9dbec2fcba3355b5af34c807364f15bccb95d (patch)
tree932be67c78202844195210a6e34d54098120fc8e /libavfilter/vf_frei0r.c
parent8ef57a0d6154119e1a616dd8c29e8c32e35808a0 (diff)
parentdef03d14687b9d089950ba8e45083e666de4eb68 (diff)
downloadffmpeg-d0d9dbec2fcba3355b5af34c807364f15bccb95d.tar.gz
Merge commit 'def03d14687b9d089950ba8e45083e666de4eb68'
* commit 'def03d14687b9d089950ba8e45083e666de4eb68': vf_frei0r: Drop overly verbose and broken debug output Merged-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'libavfilter/vf_frei0r.c')
-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 77f27ce55c..8aeac08519 100644
--- a/libavfilter/vf_frei0r.c
+++ b/libavfilter/vf_frei0r.c
@@ -160,54 +160,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 str[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 = str;
- s->get_param_value(s->instance, v, i);
- av_log(ctx, AV_LOG_DEBUG, "'%s'", str);
- break;
- }
-#endif
- av_log(ctx, AV_LOG_VERBOSE, ".\n");
}
return 0;