mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-28 19:22:02 +08: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:
committed by
Anton Khirnov
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);
|
||||||
|
|||||||
Reference in New Issue
Block a user