diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-01-23 18:42:20 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-01-30 09:52:00 +0100 |
commit | 970281766200491c4e5bb2ea1480d8afc1548a3d (patch) | |
tree | f1f20a28e2e5c58ba4d395ca7b15be18745af5bc /fftools/ffmpeg.h | |
parent | b27de18e4f66e8e775e173e4953f8fe4a7404a82 (diff) | |
download | ffmpeg-970281766200491c4e5bb2ea1480d8afc1548a3d.tar.gz |
fftools/ffmpeg_dec: pass input timebase through DecoderOpts
Do not read it from AVStream directly.
This is a step towards decoupling Decoder and InputStream.
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r-- | fftools/ffmpeg.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h index 106f943a2b..5d6a538aa0 100644 --- a/fftools/ffmpeg.h +++ b/fftools/ffmpeg.h @@ -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; |