fftools/ffmpeg_filter: stop accessing OutputStream.[max_]frame_rate

Pass them to ofilter_bind_ost() via OutputFilterOptions, as is done for
most other data it needs. OutputStream.[max_]frame_rate/force_fps are no
longer used outside of ffmpeg_mux*, and so can be made private.

This is a step toward decoupling encoders from muxers.
This commit is contained in:
Anton Khirnov
2024-09-12 18:17:30 +02:00
parent ac578ccb8e
commit addc29f67a
4 changed files with 17 additions and 12 deletions

View File

@@ -85,6 +85,10 @@ typedef struct MuxStream {
int ts_drop;
#endif
AVRational frame_rate;
AVRational max_frame_rate;
int force_fps;
const char *apad;
} MuxStream;