1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

lavfi/scale2ref: Set output frame rate to main input frame rate.

Fixes ticket #6817.
This commit is contained in:
Carl Eugen Hoyos 2017-11-08 09:15:29 +01:00
parent 349e9a8787
commit da99b3f0c9

View File

@ -362,6 +362,7 @@ static int config_props_ref(AVFilterLink *outlink)
outlink->h = inlink->h; outlink->h = inlink->h;
outlink->sample_aspect_ratio = inlink->sample_aspect_ratio; outlink->sample_aspect_ratio = inlink->sample_aspect_ratio;
outlink->time_base = inlink->time_base; outlink->time_base = inlink->time_base;
outlink->frame_rate = inlink->frame_rate;
return 0; return 0;
} }