diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-07-15 18:41:21 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-07-20 15:06:47 +0100 |
commit | 5d3addb937946eca5391e40b5e6308e74ac6f77b (patch) | |
tree | e758d6b07dd07480a3b32901ccedc421d45b33c0 /avconv.h | |
parent | d6604b29ef544793479d7fb4e05ef6622bb3e534 (diff) | |
download | ffmpeg-5d3addb937946eca5391e40b5e6308e74ac6f77b.tar.gz |
Add a quality factor packet side data
This is necessary to preserve the quality information currently exported
with coded_frame. Add the new side data to every encoder that needs it,
and use it in avconv.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'avconv.h')
-rw-r--r-- | avconv.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -362,6 +362,9 @@ typedef struct OutputStream { // number of frames/samples sent to the encoder uint64_t frames_encoded; uint64_t samples_encoded; + + /* packet quality factor */ + int quality; } OutputStream; typedef struct OutputFile { |