mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 00:32:31 +00:00
vf_frei0r: also set AVFilterLink.frame_rate
(cherry picked from ffmpeg commit 353cf95f94
)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
parent
7d12cba95c
commit
11f87ca71e
@ -459,6 +459,7 @@ static int source_config_props(AVFilterLink *outlink)
|
|||||||
outlink->w = s->w;
|
outlink->w = s->w;
|
||||||
outlink->h = s->h;
|
outlink->h = s->h;
|
||||||
outlink->time_base = s->time_base;
|
outlink->time_base = s->time_base;
|
||||||
|
outlink->frame_rate = av_inv_q(s->time_base);
|
||||||
|
|
||||||
if (s->destruct && s->instance)
|
if (s->destruct && s->instance)
|
||||||
s->destruct(s->instance);
|
s->destruct(s->instance);
|
||||||
|
Loading…
Reference in New Issue
Block a user