mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-24 16:00:02 +01:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user