vf_select: Drop a debug av_log with an unchecked double to enum conversion
authorDiego Biurrun <diego@biurrun.de>
Tue, 29 Jul 2014 12:43:04 +0000 (05:43 -0700)
committerDiego Biurrun <diego@biurrun.de>
Tue, 29 Jul 2014 16:37:01 +0000 (09:37 -0700)
CC: libav-stable@libav.org
libavfilter/vf_select.c

index 22be1fd..8d0e6c3 100644 (file)
@@ -205,18 +205,6 @@ static int select_frame(AVFilterContext *ctx, AVFrame *frame)
     select->var_values[VAR_PICT_TYPE] = frame->pict_type;
 
     res = av_expr_eval(select->expr, select->var_values, NULL);
-    av_log(inlink->dst, AV_LOG_DEBUG,
-           "n:%d pts:%d t:%f interlace_type:%c key:%d pict_type:%c "
-           "-> select:%f\n",
-           (int)select->var_values[VAR_N],
-           (int)select->var_values[VAR_PTS],
-           select->var_values[VAR_T],
-           select->var_values[VAR_INTERLACE_TYPE] == INTERLACE_TYPE_P ? 'P' :
-           select->var_values[VAR_INTERLACE_TYPE] == INTERLACE_TYPE_T ? 'T' :
-           select->var_values[VAR_INTERLACE_TYPE] == INTERLACE_TYPE_B ? 'B' : '?',
-           (int)select->var_values[VAR_KEY],
-           av_get_picture_type_char(select->var_values[VAR_PICT_TYPE]),
-           res);
 
     select->var_values[VAR_N] += 1.0;