lavfi/vf_libplacebo: also skip cache if in FPS == out FPS

Fixes an oversight in the previous code which should have been >=, not >.
This commit is contained in:
Niklas Haas 2023-06-15 17:01:07 +02:00
parent 618b72d4b4
commit 1b2c6c9a03
1 changed files with 1 additions and 1 deletions

View File

@ -881,7 +881,7 @@ static int output_frame(AVFilterContext *ctx, int64_t pts)
s->params.blend_params = NULL;
for (int i = 0; i < s->nb_inputs; i++) {
LibplaceboInput *in = &s->inputs[i];
int high_fps = av_cmp_q(in->link->frame_rate, outlink->frame_rate) > 0;
int high_fps = av_cmp_q(in->link->frame_rate, outlink->frame_rate) >= 0;
if (in->qstatus != PL_QUEUE_OK)
continue;
s->params.skip_caching_single_frame = high_fps;