History

avfilter/vf_ssim: fix logic failure when comparing time bases

Paul B Mahol committed 6 years ago

Commit 89eee091 parent 81d25e51 file · +1 −1Browse files

Unified · Split

libavfilter/vf_ssim.c+1−1
@@ -445,7 +445,7 @@ static int config_output(AVFilterLink *outlink) · 444 unmodified lines
445 445
446 outlink->time_base = s->fs.time_base;446 outlink->time_base = s->fs.time_base;
447 447
448 if (av_cmp_q(mainlink->time_base, outlink->time_base) &&448 if (av_cmp_q(mainlink->time_base, outlink->time_base) ||
449 av_cmp_q(ctx->inputs[1]->time_base, outlink->time_base))449 av_cmp_q(ctx->inputs[1]->time_base, outlink->time_base))
450 av_log(ctx, AV_LOG_WARNING, "not matching timebases found between first input: %d/%d and second input %d/%d, results may be incorrect!\n",450 av_log(ctx, AV_LOG_WARNING, "not matching timebases found between first input: %d/%d and second input %d/%d, results may be incorrect!\n",
451 mainlink->time_base.num, mainlink->time_base.den,451 mainlink->time_base.num, mainlink->time_base.den,

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