diff options
author | Anton Khirnov | 2014-03-17 10:03:47 +0100 |
---|---|---|
committer | Anton Khirnov | 2014-03-24 06:17:04 +0100 |
commit | baeb59d89beda499688e528c6a269d2b255b66f2 (patch) | |
tree | f0436ace540756c8021c597ee07763af2478dfcd /avconv.h | |
parent | f759f66e367bc62ed7738a51040f775b656a60d8 (diff) |
avconv: rewrite output data size tracking
Store a variable per OutputStream instead of globals for
audio/video/extradata. This makes the code simpler and cleaner and fixes
2pass with multiple output streams.
Diffstat (limited to 'avconv.h')
-rw-r--r-- | avconv.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -339,6 +339,10 @@ typedef struct OutputStream { enum AVPixelFormat pix_fmts[2]; AVCodecParserContext *parser; + + /* stats */ + // combined size of all the packets written + uint64_t data_size; } OutputStream; typedef struct OutputFile { |