summaryrefslogtreecommitdiff
path: root/avconv.h
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-07-15 18:41:21 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-07-20 15:06:47 +0100
commit5d3addb937946eca5391e40b5e6308e74ac6f77b (patch)
treee758d6b07dd07480a3b32901ccedc421d45b33c0 /avconv.h
parentd6604b29ef544793479d7fb4e05ef6622bb3e534 (diff)
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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/avconv.h b/avconv.h
index ec57fc8799..187dcdbd28 100644
--- a/avconv.h
+++ b/avconv.h
@@ -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 {