fftools/ffmpeg: attach filter framerate to frames

This way the encoder does not need to reach backward into the filter.
This commit is contained in:
Anton Khirnov 2023-05-27 12:32:38 +02:00
parent 9630341073
commit 568d414074
3 changed files with 23 additions and 8 deletions

View file

@ -655,6 +655,8 @@ typedef struct FrameData {
uint64_t idx;
int64_t pts;
AVRational tb;
AVRational frame_rate_filter;
} FrameData;
extern InputFile **input_files;