You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
vf_fps: set frame_rate.
This commit is contained in:
@@ -120,6 +120,7 @@ static int config_props(AVFilterLink* link)
|
||||
FPSContext *s = link->src->priv;
|
||||
|
||||
link->time_base = (AVRational){ s->framerate.den, s->framerate.num };
|
||||
link->frame_rate= s->framerate;
|
||||
link->w = link->src->inputs[0]->w;
|
||||
link->h = link->src->inputs[0]->h;
|
||||
s->pts = AV_NOPTS_VALUE;
|
||||
|
Reference in New Issue
Block a user