You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user