Commit 6f622e5f authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/f_select: avoid double->int in debug output

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent bcbfb95b
...@@ -338,7 +338,7 @@ static void select_frame(AVFilterContext *ctx, AVFrame *frame) ...@@ -338,7 +338,7 @@ static void select_frame(AVFilterContext *ctx, AVFrame *frame)
select->var_values[VAR_N], select->var_values[VAR_N],
select->var_values[VAR_PTS], select->var_values[VAR_PTS],
select->var_values[VAR_T], select->var_values[VAR_T],
(int)select->var_values[VAR_KEY]); frame->key_frame);
switch (inlink->type) { switch (inlink->type) {
case AVMEDIA_TYPE_VIDEO: case AVMEDIA_TYPE_VIDEO:
...@@ -349,9 +349,9 @@ static void select_frame(AVFilterContext *ctx, AVFrame *frame) ...@@ -349,9 +349,9 @@ static void select_frame(AVFilterContext *ctx, AVFrame *frame)
select->var_values[VAR_SCENE]); select->var_values[VAR_SCENE]);
break; break;
case AVMEDIA_TYPE_AUDIO: case AVMEDIA_TYPE_AUDIO:
av_log(inlink->dst, AV_LOG_DEBUG, " samples_n:%d consumed_samples_n:%d", av_log(inlink->dst, AV_LOG_DEBUG, " samples_n:%d consumed_samples_n:%f",
(int)select->var_values[VAR_SAMPLES_N], frame->nb_samples,
(int)select->var_values[VAR_CONSUMED_SAMPLES_N]); select->var_values[VAR_CONSUMED_SAMPLES_N]);
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment