mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
fftools/ffmpeg_dec: pass input timebase through DecoderOpts
Do not read it from AVStream directly. This is a step towards decoupling Decoder and InputStream.
This commit is contained in:
@ -298,6 +298,8 @@ typedef struct DecoderOpts {
|
||||
char *hwaccel_device;
|
||||
enum AVPixelFormat hwaccel_output_format;
|
||||
|
||||
AVRational time_base;
|
||||
|
||||
// Either forced (when DECODER_FLAG_FRAMERATE_FORCED is set) or
|
||||
// estimated (otherwise) video framerate.
|
||||
AVRational framerate;
|
||||
|
Reference in New Issue
Block a user