[FFmpeg-cvslog] vf_select: Drop a debug av_log with an unchecked double to enum conversion

Diego Biurrun git at videolan.org
Sat Aug 9 19:19:29 CEST 2014


ffmpeg | branch: release/0.10 | Diego Biurrun <diego at biurrun.de> | Tue Jul 29 05:43:04 2014 -0700| [e4fdfdf65d520ce3af13a21ff8a3649e37757af8] | committer: Diego Biurrun

vf_select: Drop a debug av_log with an unchecked double to enum conversion

CC: libav-stable at libav.org
(cherry picked from commit a8d803a320fb08b3ad5db4fffc79abd401206905)
Signed-off-by: Diego Biurrun <diego at biurrun.de>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e4fdfdf65d520ce3af13a21ff8a3649e37757af8
---

 libavfilter/vf_select.c |   13 -------------
 1 file changed, 13 deletions(-)

diff --git a/libavfilter/vf_select.c b/libavfilter/vf_select.c
index 0ec443a..83afe3d 100644
--- a/libavfilter/vf_select.c
+++ b/libavfilter/vf_select.c
@@ -200,19 +200,6 @@ static int select_frame(AVFilterContext *ctx, AVFilterBufferRef *picref)
     select->var_values[VAR_PICT_TYPE] = picref->video->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 pos:%d 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],
-           (int)select->var_values[VAR_POS],
-           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;
 



More information about the ffmpeg-cvslog mailing list