History

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

Michael Niedermayer committed 12 years ago

Commit 6f622e51 parent bcbfb951 file · +4 −4Browse files

Unified · Split

libavfilter/f_select.c+4−4
@@ -338,7 +338,7 @@ static void select_frame(AVFilterContext *ctx, AVFrame *frame) · 337 unmodified lines
338 select->var_values[VAR_N],338 select->var_values[VAR_N],
339 select->var_values[VAR_PTS],339 select->var_values[VAR_PTS],
340 select->var_values[VAR_T],340 select->var_values[VAR_T],
341 (int)select->var_values[VAR_KEY]);341 frame->key_frame);
342 342
343 switch (inlink->type) {343 switch (inlink->type) {
344 case AVMEDIA_TYPE_VIDEO:344 case AVMEDIA_TYPE_VIDEO:
@@ -349,9 +349,9 @@ static void select_frame(AVFilterContext *ctx, AVFrame *frame) · 4 unmodified lines
349 select->var_values[VAR_SCENE]);349 select->var_values[VAR_SCENE]);
350 break;350 break;
351 case AVMEDIA_TYPE_AUDIO:351 case AVMEDIA_TYPE_AUDIO:
352 av_log(inlink->dst, AV_LOG_DEBUG, " samples_n:%d consumed_samples_n:%d",352 av_log(inlink->dst, AV_LOG_DEBUG, " samples_n:%d consumed_samples_n:%f",
353 (int)select->var_values[VAR_SAMPLES_N],353 frame->nb_samples,
354 (int)select->var_values[VAR_CONSUMED_SAMPLES_N]);354 select->var_values[VAR_CONSUMED_SAMPLES_N]);
355 break;355 break;
356 }356 }
357 357

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t