diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-11-11 10:35:15 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-04-13 12:07:54 +0200 |
commit | 4a7c8bb3d8cc793dab8baf110c1562980c4a3165 (patch) | |
tree | e0ba186420e6d1524a46edfe7097ef1f4d16e845 /fftools/ffmpeg.h | |
parent | 5c66ee6351ae3523206f64e5dc6c1768e438ed34 (diff) |
fftools/ffmpeg: store output format separately from the muxer context
Allows accessing it without going through the muxer context. This will
be useful in the following commits, where the muxer context will be
hidden.
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 ff8ebbfab5..9f0c093e34 100644 --- a/fftools/ffmpeg.h +++ b/fftools/ffmpeg.h @@ -579,6 +579,8 @@ typedef struct OutputStream { typedef struct OutputFile { int index; + const AVOutputFormat *format; + AVFormatContext *ctx; AVDictionary *opts; int ost_index; /* index of the first stream in output_streams */ |