From 5d3addb937946eca5391e40b5e6308e74ac6f77b Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Wed, 15 Jul 2015 18:41:21 +0100 Subject: 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 --- avconv.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'avconv.h') 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 { -- cgit v1.2.3