mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
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:
parent
618b72d4b4
commit
1b2c6c9a03
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user